Fixed simple-restarter script

This commit is contained in:
Yehonal
2018-07-17 14:55:52 +00:00
parent 8e9faf8488
commit 3fb937f003
2 changed files with 23 additions and 7 deletions

View File

@@ -189,8 +189,11 @@ function inst_module_remove {
function inst_simple_restarter {
echo "Running $1 in background..."
bash "$AC_PATH_APPS/startup-scripts/simple-restarter" "$AC_BINPATH_FULL" "$1" &
echo "Running $1 ..."
bash "$AC_PATH_APPS/startup-scripts/simple-restarter" "$AC_BINPATH_FULL" "$1"
echo
#disown -a
#jobs -l
}
function inst_download_client_data {
@@ -199,4 +202,4 @@ function inst_download_client_data {
echo "Downloading client data in: $path/data.zip ..."
curl -L https://github.com/wowgaming/client-data/releases/download/v4/data.zip > "$path/data.zip" \
&& unzip -o "$path/data.zip" -d "$path/" && rm "$path/data.zip"
}
}