actions.py 490 B

12345678910111213141516171819
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 3.
  5. # See the file http://www.gnu.org/licenses/gpl.txt
  6. from pisi.actionsapi import get
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import shelltools
  9. def setup():
  10. shelltools.system("pwd")
  11. shelltools.system("ar xf ocenaudio_debian64.deb")
  12. shelltools.system("tar xf data.tar.xz")
  13. def install():
  14. pisitools.insinto("/", "usr")
  15. pisitools.insinto("/", "opt")