Well I didn't mean to apply variables to the whole Pterodactyl filesystem..

This commit is contained in:
purple 2023-05-30 21:01:54 +02:00 committed by GitHub
parent fa32b82add
commit 6300832ad4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -179,7 +179,7 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) ]]; then
SKIPAZPLACEHOLDERS=false; SKIPAZPLACEHOLDERS=false;
fi; fi;
for f in $(find . -type f -print); do for f in $(find $DIR -type f -print); do
sed -i "s~^#version#^~$version~g" $f; sed -i "s~^#version#^~$version~g" $f;
sed -i "s~^#author#^~$author~g" $f; sed -i "s~^#author#^~$author~g" $f;
sed -i "s~^#identifier#^~$identifier~g" $f; sed -i "s~^#identifier#^~$identifier~g" $f;