summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-07-07 12:50:37 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-07-07 12:50:37 -0300
commit366440c2b07c971f4aeaece36afb252796bbb4d0 (patch)
tree94dc7eea301ef6c1e39a5699bcbefe442003f3cc /files
parent38710eeeeaa94dfbddd0bf3f82bfb308b1c3bb7b (diff)
downloadpuppet-wordpress-366440c2b07c971f4aeaece36afb252796bbb4d0.tar.gz
puppet-wordpress-366440c2b07c971f4aeaece36afb252796bbb4d0.tar.bz2
Updates CLI
Diffstat (limited to 'files')
-rw-r--r--files/wordpress.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/files/wordpress.sh b/files/wordpress.sh
index 055f204..3497a93 100644
--- a/files/wordpress.sh
+++ b/files/wordpress.sh
@@ -5,7 +5,7 @@
BASE="/var/www/data"
LOCALE="-pt_BR"
-WP_CLI="/usr/local/bin/wp-cli"
+WP_CLI="/usr/local/bin/wp"
BASENAME="`basename $0`"
WHOAMI="`whoami`"
@@ -55,7 +55,7 @@ function wordpress_deploy {
# Upgrade a wordpress instance using upstream source.
function wordpress_upgrade {
if [ -z "2" ]; then
- echo "Usage: `basename $0` upgrade <old_version> <new_version> [folder]"
+ echo "Usage: `basename $0` upgrade <old_version> <new_version> [base-folder]"
exit 1
fi
@@ -139,7 +139,7 @@ function wordpress_upgrade {
function wordpress_usage {
echo "Installation management commands:"
echo " $BASENAME deploy <version>"
- echo " $BASENAME upgrade <old-version> <new-version>"
+ echo " $BASENAME upgrade <old-version> <new-version> [base-folder]"
echo ""
echo -n "Wordpress CLI "
$WP_CLI help