Add new path and datapath directory
This commit is contained in:
parent
accd112f20
commit
839e8a2366
1 changed files with 4 additions and 0 deletions
|
@ -183,11 +183,15 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) ]]; then
|
||||||
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;
|
||||||
|
sed -i "s~^#path#^~/var/www/$FOLDER~g" $f;
|
||||||
|
sed -i "s~^#datapath#^~/var/www/$FOLDER/.blueprint/.storage/extensiondata/$identifier~g" $f;
|
||||||
|
|
||||||
if [[ $SKIPAZPLACEHOLDERS != true ]]; then
|
if [[ $SKIPAZPLACEHOLDERS != true ]]; then
|
||||||
sed -i "s~bpversionreplace~$version~g" $f;
|
sed -i "s~bpversionreplace~$version~g" $f;
|
||||||
sed -i "s~bpauthorreplace~$author~g" $f;
|
sed -i "s~bpauthorreplace~$author~g" $f;
|
||||||
sed -i "s~bpidentifierreplace~$identifier~g" $f;
|
sed -i "s~bpidentifierreplace~$identifier~g" $f;
|
||||||
|
sed -i "s~bppathreplace~/var/www/$FOLDER~g" $f;
|
||||||
|
sed -i "s~bpdatapathreplace~/var/www/$FOLDER/.blueprint/.storage/extensiondata/$identifier~g" $f;
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
echo "Done placeholders in '$f'.";
|
echo "Done placeholders in '$f'.";
|
||||||
|
|
Loading…
Reference in a new issue