actions.py 625 B

12345678910111213141516
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. # Licensed under the GNU General Public License, version 3.
  4. # See the file http://www.gnu.org/copyleft/gpl.txt
  5. from pisi.actionsapi import shelltools
  6. from pisi.actionsapi import autotools
  7. from pisi.actionsapi import get
  8. JEDIT_HOME="%s/usr/share/jedit" % get.installDIR()
  9. def install():
  10. #shelltools.system("java -jar jedit5.3pre1install.jar auto /usr/share/java/jedit unix-script=/usr/bin unix-man=/usr/share/man")
  11. shelltools.system("java -jar jedit5.5.0install.jar auto %s/usr/share/jedit unix-script=%s/usr/bin" % (get.installDIR(), get.installDIR(), get.installDIR()))