mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-11 10:38:27 +00:00
finally fixing the netinstaller
This commit is contained in:
parent
2abfc7057c
commit
3303a43cab
@ -14,22 +14,23 @@ cd ark-server-tools-master/tools
|
||||
chmod +x install.sh
|
||||
sh install.sh $1
|
||||
|
||||
status = $?
|
||||
status=$?
|
||||
|
||||
# Remove the installation files
|
||||
rm -f master.tar.gz
|
||||
rm -rf /tmp/ark-server-tools-master
|
||||
|
||||
# Print messages
|
||||
case "$status" in
|
||||
"0")
|
||||
echo "ARK Server Tools were correctly installed in your system inside the home directory of $1!"
|
||||
;;
|
||||
|
||||
if (( $status == 0 )); then
|
||||
echo "ARK Server Tools were correctly installed in your system inside the home directory of $1!"
|
||||
fi
|
||||
|
||||
if (( $status == 1 )); then
|
||||
echo "Something where wrong :("
|
||||
fi
|
||||
|
||||
if (( $status == 2 )); then
|
||||
echo "WARNING: A previous version of ARK Server Tools was detected in your system, your old configuration was not overwritten. You may need to manually update it."
|
||||
echo "ARK Server Tools were correctly installed in your system inside the home directory of $1!"
|
||||
fi
|
||||
"1")
|
||||
echo "Something where wrong :("
|
||||
;;
|
||||
"2")
|
||||
echo "WARNING: A previous version of ARK Server Tools was detected in your system, your old configuration was not overwritten. You may need to manually update it."
|
||||
echo "ARK Server Tools were correctly installed in your system inside the home directory of $1!"
|
||||
;;
|
||||
esac
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user