mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-06 16:32:35 +00:00
WordPress Deployment Fix (#441)
* Resolved Issue with WordPress * Fix for Vito User
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user