From 385ee7181784db36c7459eb501532839939f2ceb Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 20 Dec 2015 17:31:56 +0000 Subject: [PATCH] Added if statement for mkdir --- functions/fn_install_serverdir | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/functions/fn_install_serverdir b/functions/fn_install_serverdir index 85e574a79..66c6f6dad 100644 --- a/functions/fn_install_serverdir +++ b/functions/fn_install_serverdir @@ -23,5 +23,7 @@ if [ -z "${autoinstall}" ]; then esac done fi -mkdir "${filesdir}" +if [ ! -d "${filesdir}" ]; then + mkdir -v "${filesdir}" +fi echo "" \ No newline at end of file