17 lines
489 B
Python
17 lines
489 B
Python
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
#
|
|
# Licensed under the GNU General Public License, version 3.
|
|
# See the file http://www.gnu.org/copyleft/gpl.txt
|
|
|
|
from pisi.actionsapi import pisitools, shelltools, get
|
|
|
|
WorkDir="."
|
|
def setup():
|
|
shelltools.system("ar xvf CiscoPacketTracer_820_Ubuntu_64bit.deb")
|
|
shelltools.system("tar xvf data.tar.xz")
|
|
|
|
def install():
|
|
pisitools.insinto("/usr", "%s/usr/*" % get.workDIR())
|
|
pisitools.insinto("/opt", "%s/opt/*" % get.workDIR())
|