Fix installer
This commit is contained in:
@@ -9,6 +9,8 @@ parent=${parent%/*}
|
||||
|
||||
is_root
|
||||
|
||||
git rev-parse --is-inside-git-dir || echo "You must execute this script from the hartmanlab git directory" && exit 1
|
||||
|
||||
install -m 644 functions /usr/local/bin/
|
||||
|
||||
for script in script-*; do
|
||||
|
||||
@@ -12,7 +12,7 @@ is_root
|
||||
[[ $# -eq 0 ]] && time='*-*-* 01:30:00' # 1:30AM
|
||||
[[ $# -gt 1 ]] && time="$*"
|
||||
|
||||
./script-system-update
|
||||
script-system-update
|
||||
|
||||
ask_ok "Set a scheduled reboot for $time?" || exit 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user