WordPress Deployment Fix (#441)

* Resolved Issue with WordPress

* Fix for Vito User
This commit is contained in:
Richard Anderson
2025-01-22 19:24:44 +00:00
committed by GitHub
parent bfdf3533fd
commit b63ddfc568
3 changed files with 5 additions and 5 deletions

View File

@ -7,11 +7,10 @@ if ! chmod +x wp-cli.phar; then
fi
if [ "__is_isolated__" == "true" ]; then
if ! mv wp-cli.phar /home/__isolated_username__/bin/wp; then
echo 'VITO_SSH_ERROR' && exit 1
fi
mv wp-cli.phar /home/__isolated_username__/bin/
ln -s /home/__isolated_username__/bin/wp-cli.phar /home/__isolated_username__/bin/wp
else
if ! mv wp-cli.phar /usr/local/bin/wp; then
if ! sudo mv wp-cli.phar /usr/local/bin/wp; then
echo 'VITO_SSH_ERROR' && exit 1
fi
fi