Remove the command to install the wp-cli/restful package from script
This commit is contained in:
@@ -11,8 +11,6 @@ WP_FLAGS="--allow-root --path=/var/www/html"
|
|||||||
|
|
||||||
path="$1"
|
path="$1"
|
||||||
|
|
||||||
wp package install wp-cli/restful $WP_FLAGS
|
|
||||||
|
|
||||||
if test -d "$path"; then
|
if test -d "$path"; then
|
||||||
echo "Found $path, starting upload."
|
echo "Found $path, starting upload."
|
||||||
for file in "$path"/*/*.jpg; do
|
for file in "$path"/*/*.jpg; do
|
||||||
|
|||||||
Reference in New Issue
Block a user