Update scripts/commands/extensions/remove.sh

This commit is contained in:
denis 2024-11-03 04:29:07 -05:00
parent f49a4c52a0
commit ef20703532

View file

@ -83,7 +83,7 @@ RemoveExtension() {
EXTENSION_IDENTIFIER=\"$identifier\" \ EXTENSION_IDENTIFIER=\"$identifier\" \
EXTENSION_TARGET=\"$target\" \ EXTENSION_TARGET=\"$target\" \
EXTENSION_VERSION=\"$version\" \ EXTENSION_VERSION=\"$version\" \
PTERODACTYL_DIRECTORY=\"$FOLDER\" \ PELICAN_DIRECTORY=\"$FOLDER\" \
BLUEPRINT_VERSION=\"$VERSION\" \ BLUEPRINT_VERSION=\"$VERSION\" \
bash .blueprint/extensions/$identifier/private/remove.sh bash .blueprint/extensions/$identifier/private/remove.sh
" "
@ -378,7 +378,7 @@ Command() {
} &>> "$BLUEPRINT__DEBUG" } &>> "$BLUEPRINT__DEBUG"
# Make sure all files have correct permissions. # 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/" \ find "$FOLDER/" \
-path "$FOLDER/node_modules" -prune \ -path "$FOLDER/node_modules" -prune \
-o -exec chown "$OWNERSHIP" {} + &>> "$BLUEPRINT__DEBUG" -o -exec chown "$OWNERSHIP" {} + &>> "$BLUEPRINT__DEBUG"