actions.py 493 B

12345678910111213141516
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 3.
  5. # See the file https://www.gnu.org/licenses/gpl-3.0.txt
  6. from pisi.actionsapi import pisitools, shelltools, get
  7. def install():
  8. pisitools.insinto("/usr/share/geany/colorschemes", "colorschemes/*")
  9. for t in shelltools.ls("%s/usr/share/geany/colorschemes/*" % get.installDIR()):
  10. shelltools.chmod(t, mode = 0644)
  11. pisitools.dodoc("ADDING-A-THEME.md", "AUTHORS", "COPYING", "README.md")