Commit 42636031 authored by christian's avatar christian Committed by osak buildhauer user

added /bin/bash to subproc uncommented mountstick

parent e3479cd4
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment