diff --git a/install.sh b/install.sh index cb50a8b..b01826d 100755 --- a/install.sh +++ b/install.sh @@ -298,7 +298,7 @@ fi ############ echo -e "\n***** Running fixPermissions.sh from the script repo. *****" if [ -a "$installPath"/utils/fixPermissions.sh ]; then - bash "$installPath"/utils/fixPermissions.sh + bash $installPath"/utils/fixPermissions.sh $webPath else echo "ERROR: Could not find fixPermissions.sh!" fi diff --git a/updater.py b/updater.py index ebf20ef..4604107 100755 --- a/updater.py +++ b/updater.py @@ -59,7 +59,7 @@ def checkForUpdates(): def runAfterUpdate(scriptDir): try: print "Installing dependencies, updating CRON and fixing file permissions..." - subprocess.check_call(["sudo", "bash", scriptDir + "/utils/runAfterUpdate.sh"], stderr=subprocess.STDOUT) + subprocess.check_call(["sudo", "bash", scriptDir + "/utils/runAfterUpdate.sh" + webPath], stderr=subprocess.STDOUT) except subprocess.CalledProcessError: print "I tried to execute the runAfterUpdate.sh bash script, but an error occurred. " + \ "Try running it from the command line in your /utils dir"