def install_package(package, src, dst):
 unpack_tarball(src, dst)
 run_scripts((dst + package.name), scripts=['getscript', 'postinst'])

def install_package ( package , src , dst ) : unpack_tarball ( src , dst ) run_scripts ( ( dst + package . name ) , scripts = [ 'getscript' , 'postinst' ] )
install package if not already installed .