Explorar el Código

Corrected Update Function

h3o66 hace 11 años
padre
commit
48da5b99ed
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  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
 elif [ "$installcontent" == 0 ]; then
 	if [ -d "$contentfolder" ]; then
 	if [ -d "$contentfolder" ]; then
 		rm -rf $contentfolder
 		rm -rf $contentfolder
+		echo ""
+		echo "$parm_type was succesfully deleted"
 	else
 	else
 		echo "$parm_type was not installed on the Server before"
 		echo "$parm_type was not installed on the Server before"
 	fi
 	fi
@@ -89,6 +91,8 @@ elif [ "$installcontent" == 2 ]; then
 		exit 1
 		exit 1
 	fi
 	fi
 
 
+	fn_update_check
+
 elif [ "$installcontent" == 2 ]; then
 elif [ "$installcontent" == 2 ]; then
 	if [ ! -d "$contentfolder" ]; then
 	if [ ! -d "$contentfolder" ]; then
 		echo "$parm_type was not installed before"
 		echo "$parm_type was not installed before"