diff --git a/scripts/linuxparty.py b/scripts/linuxparty.py index 5c3b8a956c468940b6490a5d430e29d6177a50b8..b92f62e3b0407bdc9a526ed3dd4e4de9ddebb007 100755 --- a/scripts/linuxparty.py +++ b/scripts/linuxparty.py @@ -71,10 +71,10 @@ def enable_offline_repo(gui): QtWidgets.QMessageBox.error(gui, "Kein LIPSTick gefunden", "Es wird ohne LIPStick weiter gemacht") return - subprocess_wrap([basedir+"/liprepoctl.sh", "on", stick[2][0]]) + subprocess_wrap(['/bin/bash', basedir+"/liprepoctl.sh", "on", stick[2][0]]) def disable_offline_repo(): - subprocess_wrap([basedir+"/liprepoctl.sh", "off"]) + subprocess_wrap(['/bin/bash', basedir+"/liprepoctl.sh", "off"]) def subprocess_wrap(what): @@ -249,15 +249,13 @@ def enableFirewall(): subprocess_wrap(command) def mountStick(): - command=[basedir+"/infuse_offline_repo.sh"] + command=['/bin/bash', basedir+"/infuse_offline_repo.sh"] subprocess_wrap(command) def makeDoku(stringlist): global pkglist - command=["./makeDoku.sh", basedir+"/", " ".join(pkglist)] - subprocess_wrap(command) - command=[basedir+"/makeDoku.sh", basedir+"/", " ".join(pkglist)] + command=['/bin/bash', basedir+"/makeDoku.sh", basedir+"/", " ".join(pkglist)] subprocess_wrap(command) def getPackagelist(): @@ -328,7 +326,7 @@ if __name__ == '__main__': basedir=os.path.dirname(os.path.realpath(__file__)) checkIfRoot() chooseFirewall() - mountStick() + #mountStick() window = Main() window.setWindowTitle("Linux Install Party Software Installer") with open(basedir+'/../offline_repo.json', 'r') as inputfile: