chore core
: remove empty spaces after line endings and remove $DOCKERFOLDER variable
This commit is contained in:
parent
576cb1184f
commit
b0ba447dc5
1 changed files with 79 additions and 83 deletions
|
@ -6,9 +6,7 @@
|
||||||
|
|
||||||
# This should allow Blueprint to run in Docker. Please note that changing the $FOLDER variable after running
|
# This should allow Blueprint to run in Docker. Please note that changing the $FOLDER variable after running
|
||||||
# the Blueprint installation script will not change anything in any files besides blueprint.sh.
|
# the Blueprint installation script will not change anything in any files besides blueprint.sh.
|
||||||
FOLDER="$(realpath $(dirname $0))" #;
|
FOLDER="$(realpath $(dirname $0))"
|
||||||
# Technically shouldn't be needed now, but I'm not going to touch this for now just in case it breaks stuff on Docker. -- @itsvic-dev
|
|
||||||
DOCKERFOLDER="/app"
|
|
||||||
|
|
||||||
# This stores the webserver ownership user which Blueprint uses when applying webserver permissions.
|
# This stores the webserver ownership user which Blueprint uses when applying webserver permissions.
|
||||||
OWNERSHIP="www-data:www-data" #;
|
OWNERSHIP="www-data:www-data" #;
|
||||||
|
@ -28,9 +26,7 @@
|
||||||
# Check for panels that are using Docker, which should have better support in the future.
|
# Check for panels that are using Docker, which should have better support in the future.
|
||||||
if [[ -f "/.dockerenv" ]]; then
|
if [[ -f "/.dockerenv" ]]; then
|
||||||
DOCKER="y"
|
DOCKER="y"
|
||||||
# Force Docker-users onto the /app folder for Pterodactyl as the Pterodactyl developers have done
|
FOLDER="/app"
|
||||||
# that already anyways.
|
|
||||||
FOLDER="$DOCKERFOLDER"
|
|
||||||
else
|
else
|
||||||
DOCKER="n"
|
DOCKER="n"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue