From 48da5b99ed386417aded50771548900ff2cdd769 Mon Sep 17 00:00:00 2001 From: h3o66 Date: Wed, 22 Apr 2015 22:25:15 +0200 Subject: [PATCH] Corrected Update Function --- functions/fn_content_gmod | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/functions/fn_content_gmod b/functions/fn_content_gmod index 474752144..92a17505c 100644 --- a/functions/fn_content_gmod +++ b/functions/fn_content_gmod @@ -79,6 +79,8 @@ if [ "$installcontent" == 1 ]; then elif [ "$installcontent" == 0 ]; then if [ -d "$contentfolder" ]; then rm -rf $contentfolder + echo "" + echo "$parm_type was succesfully deleted" else echo "$parm_type was not installed on the Server before" fi @@ -89,6 +91,8 @@ elif [ "$installcontent" == 2 ]; then exit 1 fi + fn_update_check + elif [ "$installcontent" == 2 ]; then if [ ! -d "$contentfolder" ]; then echo "$parm_type was not installed before"