|
@ -4,7 +4,7 @@ |
|
|
# Author: Daniel Gibbs |
|
|
# Author: Daniel Gibbs |
|
|
# Contributor: Summit Singh Thakur |
|
|
# Contributor: Summit Singh Thakur |
|
|
# Website: http://gameservermanagers.com |
|
|
# Website: http://gameservermanagers.com |
|
|
version="010715" |
|
|
version="040715" |
|
|
|
|
|
|
|
|
#### Variables #### |
|
|
#### Variables #### |
|
|
|
|
|
|
|
@ -78,11 +78,10 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then |
|
|
mkdir functions |
|
|
mkdir functions |
|
|
fi |
|
|
fi |
|
|
cd functions |
|
|
cd functions |
|
|
echo -e "loading ${functionfile}...\c" |
|
|
echo -e " loading ${functionfile}...\c" |
|
|
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- |
|
|
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45- |
|
|
chmod +x "${functionfile}" |
|
|
chmod +x "${functionfile}" |
|
|
cd "${rootdir}" |
|
|
cd "${rootdir}" |
|
|
sleep 1 |
|
|
|
|
|
fi |
|
|
fi |
|
|
source "${rootdir}/functions/${functionfile}" |
|
|
source "${rootdir}/functions/${functionfile}" |
|
|
} |
|
|
} |
|
|