actions.py 1016 B

123456789101112131415161718192021
  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 pisitools
  7. def install():
  8. shelltools.system("./makepot")
  9. pisitools.insinto("/usr/", "usr/*")
  10. #pisitools.insinto("/usr/bin/", "usr/bin/*")
  11. #pisitools.insinto("/usr/lib/linuxmint/mintlocale/", "usr/lib/linuxmint/mintlocale/*.py")
  12. #pisitools.insinto("/usr/lib/linuxmint/mintlocale/ImConfig/", "usr/lib/linuxmint/mintlocale/ImConfig/*.py")
  13. #pisitools.insinto("/usr/share/applications/", "usr/share/applications/*")
  14. #pisitools.insinto("/usr/share/icons/hicolor", "usr/share/icons/hicolor/*")
  15. #pisitools.insinto("/usr/share/linuxmint/adjustments/", "usr/share/linuxmint/adjustments/*")
  16. #pisitools.insinto("/usr/share/linuxmint/mintlocale/", "usr/share/linuxmint/mintlocale/*")
  17. #pisitools.insinto("/usr/share/polkit-1/actions/", "usr/share/polkit-1/actions/*")