commit 6ed17f80ac5694ac442fdd991f46c1db47a85475
parent 48d47de1409f3a98338eb8e1b16449365b264b5e
Author: Ilia Bozhinov <ammen99@gmail.com>
Date: Thu, 26 Mar 2020 18:29:58 +0100
install.sh: create config dir if it does not exist
Fixes #3
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/install.sh b/install.sh
@@ -144,6 +144,7 @@ function install_config {
fi
if [ $yn = Y ]; then
+ mkdir -p $(dirname ${DEFAULT_CONFIG_PATH})
cp ${CONFIG_FILE} ${DEFAULT_CONFIG_PATH} --backup=t
fi
}