From 3be4b933e81b252f8c2518ead0983cef156078e4 Mon Sep 17 00:00:00 2001
From: Daniel Gibbs <me@danielgibbs.co.uk>
Date: Fri, 5 Feb 2016 11:38:33 +0000
Subject: [PATCH] update functions bypasses systemdir check

---
 functions/check.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/functions/check.sh b/functions/check.sh
index ca50777cc..0d919b8ab 100644
--- a/functions/check.sh
+++ b/functions/check.sh
@@ -2,7 +2,7 @@
 # LGSM fn_check function
 # Author: Daniel Gibbs
 # Website: http://gameservermanagers.com
-lgsm_version="170116"
+lgsm_version="050216"
 
 # Description: Overall function for managing checks.
 # Runs checks that will either halt on or fix an issue.
@@ -21,7 +21,7 @@ array_contains () {
 
 check_root.sh
 
-if [ "${function_selfname}" != "command_install.sh" ]; then
+if [ "${function_selfname}" != "command_install.sh" ]||[ "${function_selfname}" != "update_functions.sh" ]; then
 	check_systemdir.sh
 fi