From 01de51b1db06de9999250f49b11e7d881d56bc78 Mon Sep 17 00:00:00 2001 From: FezVrasta Date: Mon, 22 Jun 2015 10:36:12 +0200 Subject: [PATCH] fixed netinstall --- netinstall.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/netinstall.sh b/netinstall.sh index 1f5f9bd..86d3110 100644 --- a/netinstall.sh +++ b/netinstall.sh @@ -21,15 +21,15 @@ rm -f master.tar.gz rm -rf /tmp/ark-server-tools-master -if [ $status == 0 ]; then +if [ $status -eq 0 ]; then echo "ARK Server Tools were correctly installed in your system inside the home directory of $1!" fi -if [ $status == 1 ]; then +if [ $status -eq 1 ]; then echo "Something where wrong :(" fi -if [ $status == 2 ]; then +if [ $status -eq 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