h3o66 11 лет назад
Родитель
Сommit
48da5b99ed
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      functions/fn_content_gmod

+ 4 - 0
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"