Update blueprint.sh
This commit is contained in:
parent
35af0c210a
commit
2722449d09
1 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
|||
# Learn more @ blueprint.zip
|
||||
# Source code available at github.com/blueprintframework/framework
|
||||
|
||||
# Variable for telling Blueprint which folder Pterodactyl lives in.
|
||||
# Variable for telling Blueprint which folder Pelican lives in.
|
||||
FOLDER=$(realpath "$(dirname "$0")")
|
||||
|
||||
# This stores the webserver ownership user which Blueprint uses when applying webserver permissions.
|
||||
|
@ -79,7 +79,7 @@ fi
|
|||
# Set internal variables.
|
||||
__BuildDir=".blueprint/extensions/blueprint/private/build"
|
||||
|
||||
# Automatically navigate to the Pterodactyl directory when running the script.
|
||||
# Automatically navigate to the Pelican directory when running the script.
|
||||
cd "$FOLDER" || return
|
||||
|
||||
# Import libraries.
|
||||
|
@ -277,7 +277,7 @@ if [[ $1 != "-bash" ]]; then
|
|||
fi
|
||||
|
||||
# Make sure all files have correct permissions.
|
||||
PRINT INFO "Changing Pterodactyl file ownership to '$OWNERSHIP'.."
|
||||
PRINT INFO "Changing Pelican file ownership to '$OWNERSHIP'.."
|
||||
find "$FOLDER/" \
|
||||
-path "$FOLDER/node_modules" -prune \
|
||||
-o -exec chown "$OWNERSHIP" {} + &>> "$BLUEPRINT__DEBUG"
|
||||
|
|
Loading…
Reference in a new issue