actions.py 594 B

1234567891011121314151617181920
  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 get
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import shelltools
  9. def setup():
  10. shelltools.system("pwd")
  11. shelltools.system('unzip ACS-Unified-PKG-Lnx-118-P.zip')
  12. shelltools.system("ar xf ACS-Unified-PKG-Lnx-118-P/debian/buster/libacsccid1_1.1.8-1~bpo10+1_amd64.deb")
  13. shelltools.system("tar xvf data.tar.xz")
  14. def install():
  15. pisitools.insinto("/", "usr")
  16. pisitools.insinto("/", "lib")