chore core: upgrade script should no longer edit the $FOLDER var

This commit is contained in:
Ivy 2024-06-20 21:36:28 +02:00 committed by GitHub
parent ab56ab064d
commit e889b48d1e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2213,7 +2213,6 @@ if [[ $2 == "-upgrade" ]]; then VCMD="y"
chmod +x blueprint.sh chmod +x blueprint.sh
sed -i -E \ sed -i -E \
-e "s|FOLDER=\"/var/www/pterodactyl\" #;|FOLDER=\"$FOLDER\" #;|g" \
-e "s|OWNERSHIP=\"www-data:www-data\" #;|OWNERSHIP=\"$OWNERSHIP\" #;|g" \ -e "s|OWNERSHIP=\"www-data:www-data\" #;|OWNERSHIP=\"$OWNERSHIP\" #;|g" \
-e "s|WEBUSER=\"www-data\" #;|WEBUSER=\"$WEBUSER\" #;|g" \ -e "s|WEBUSER=\"www-data\" #;|WEBUSER=\"$WEBUSER\" #;|g" \
-e "s|USERSHELL=\"/bin/bash\" #;|USERSHELL=\"$USERSHELL\" #;|g" \ -e "s|USERSHELL=\"/bin/bash\" #;|USERSHELL=\"$USERSHELL\" #;|g" \