From b1e31126bf9fcec6f8d055e1168eda8cefca7990 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 20 Dec 2015 21:16:18 +0000 Subject: [PATCH] Removed mkdir that are no longer requred mkdir -pv "${filesdir}" is now done in fn_install_serverdir rather than several different places. --- functions/fn_install_ut2k4 | 1 - functions/fn_install_ut2k4filesdl | 2 -- functions/fn_install_ut99 | 1 - functions/fn_install_ut99filesdl | 2 -- 4 files changed, 6 deletions(-) diff --git a/functions/fn_install_ut2k4 b/functions/fn_install_ut2k4 index fc25a09a8..a76cc3e19 100644 --- a/functions/fn_install_ut2k4 +++ b/functions/fn_install_ut2k4 @@ -7,7 +7,6 @@ lgsm_version="061115" echo "Installing ${gamename} Server" echo "=================================" sleep 1 -mkdir -pv "${filesdir}" cd "${filesdir}" echo "Extracting dedicatedserver3339-bonuspack.zip" sleep 1 diff --git a/functions/fn_install_ut2k4filesdl b/functions/fn_install_ut2k4filesdl index 8120b26aa..c8cf07f6a 100644 --- a/functions/fn_install_ut2k4filesdl +++ b/functions/fn_install_ut2k4filesdl @@ -6,8 +6,6 @@ lgsm_version="061115" echo "Downloading Server Files" echo "=================================" -cd "${rootdir}" -mkdir -pv "${filesdir}" cd "${filesdir}" if [ ! -f dedicatedserver3339-bonuspack.zip ]; then wget http://gameservermanagers.com/files/ut2004/dedicatedserver3339-bonuspack.zip diff --git a/functions/fn_install_ut99 b/functions/fn_install_ut99 index d27e41f4c..f37472880 100644 --- a/functions/fn_install_ut99 +++ b/functions/fn_install_ut99 @@ -7,7 +7,6 @@ lgsm_version="061115" echo "Installing ${gamename} Server" echo "=================================" sleep 1 -mkdir -pv "${filesdir}" cd "${filesdir}" echo "Extracting ut-server-436.tar.gz" sleep 1 diff --git a/functions/fn_install_ut99filesdl b/functions/fn_install_ut99filesdl index 265e60078..364c34865 100644 --- a/functions/fn_install_ut99filesdl +++ b/functions/fn_install_ut99filesdl @@ -6,8 +6,6 @@ lgsm_version="061115" echo "Downloading Server Files" echo "=================================" -cd "${rootdir}" -mkdir -pv "${filesdir}" cd "${filesdir}" if [ ! -f ut-server-436.tar.gz ]; then wget http://gameservermanagers.com/files/ut99/ut-server-436.tar.gz