Compare commits
No commits in common. "a4d466fe3f481b67bbefc9b0cf25e3a85b752c27" and "4456653f035c21f802954dceb1d7b4c2624d88b9" have entirely different histories.
a4d466fe3f
...
4456653f03
@ -196,8 +196,6 @@ if [ "$doScriptUpdate" -eq 1 ]; then
|
|||||||
printf "\n%s*** This script has been updated. Please re-run it to load the updated version of this file. ***%s\n\n" "$warn" "$norm"
|
printf "\n%s*** This script has been updated. Please re-run it to load the updated version of this file. ***%s\n\n" "$warn" "$norm"
|
||||||
# overwrite this script with updated script
|
# overwrite this script with updated script
|
||||||
mv -f ./update.sh.tmp "$localScriptName"
|
mv -f ./update.sh.tmp "$localScriptName"
|
||||||
chmod +x "$localScriptName"
|
|
||||||
exit 0
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@ -245,10 +243,6 @@ if [ "$doScriptUpdate" -eq 1 ]; then
|
|||||||
updateSuccess=$((updateSuccess + 1))
|
updateSuccess=$((updateSuccess + 1))
|
||||||
# overwrite old version of file
|
# overwrite old version of file
|
||||||
mv -f "$updateFilename.tmp" "$updateFilename"
|
mv -f "$updateFilename.tmp" "$updateFilename"
|
||||||
if [ "${updateFilename##*.}" = "sh" ]; then
|
|
||||||
# shell file --> make it executable
|
|
||||||
chmod +x "$updateFilename"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user