From 3972f75b6b3d38115f30c9fe770556965ae5257e Mon Sep 17 00:00:00 2001 From: William Miceli <1-WilliamMiceli@git.williammiceli.systems> Date: Mon, 19 Aug 2019 18:58:29 -0400 Subject: [PATCH] All Grav files will need to be extracted now --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 9611a47..11a6b85 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,11 +2,11 @@ # Copy default "User" directory if none already exist echo "[ INFO ] Checking for any existing files" -if [ -z `ls -A /var/www/user/` ] +if [ -z `ls -A /var/www/` ] then echo "[ INFO ] No pre-existing files found (New instance)" echo "[ INFO ] Copying default files into the /var/www/user directory" - tar xz -f USER.tar.gz -C / + tar xz -f /GRAV.tar.gz -C / echo "[ INFO ] Default files have been copied successfully" else echo "[ INFO ] Pre-existing files found (Existing instance)"