Browse Source

Corrected Update Function

pull/511/head
h3o66 10 years ago
parent
commit
48da5b99ed
  1. 4
      functions/fn_content_gmod

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

Loading…
Cancel
Save