From 3d4515082b57dc42578416ce132bd2a1cba58ae5 Mon Sep 17 00:00:00 2001 From: christian <christian.steinhaus@rwth-aachen.de> Date: Fri, 16 Oct 2015 20:03:25 +0200 Subject: [PATCH] added /bin/bash to subproc uncommented mountstick --- scripts/linuxparty.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/scripts/linuxparty.py b/scripts/linuxparty.py index 5c3b8a9..b92f62e 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: -- GitLab