|
@@ -73,9 +73,10 @@ if [[ ! -f "/run/wordpress/plugins_unpacked" ]]; then
|
|
# clear the directory, otherwise unzip/mv have to be forced
|
|
# clear the directory, otherwise unzip/mv have to be forced
|
|
rm -rf /app/data/wp-content/mu-plugins/*
|
|
rm -rf /app/data/wp-content/mu-plugins/*
|
|
|
|
|
|
- unzip -d /app/data/wp-content/mu-plugins/ /app/code/disable-wordpress-updates.zip
|
|
|
|
- mv /app/data/wp-content/mu-plugins/disable-wordpress-updates/* /app/data/wp-content/mu-plugins/
|
|
|
|
- rm -rf /app/data/wp-content/mu-plugins/disable-wordpress-updates/
|
|
|
|
|
|
+ rm -f /app/data/wp-content/mu-plugins/disable-updates.php # remove the old plugin we used
|
|
|
|
+ unzip -d /app/data/wp-content/mu-plugins/ /app/code/disable-wordpress-core-update.zip
|
|
|
|
+ mv /app/data/wp-content/mu-plugins/disable-wordpress-core-update/* /app/data/wp-content/mu-plugins/
|
|
|
|
+ rm -rf /app/data/wp-content/mu-plugins/disable-wordpress-core-update/
|
|
|
|
|
|
unzip -d /app/data/wp-content/mu-plugins/ /app/code/wp-mail-smtp.zip
|
|
unzip -d /app/data/wp-content/mu-plugins/ /app/code/wp-mail-smtp.zip
|
|
mv /app/data/wp-content/mu-plugins/wp-mail-smtp/* /app/data/wp-content/mu-plugins/
|
|
mv /app/data/wp-content/mu-plugins/wp-mail-smtp/* /app/data/wp-content/mu-plugins/
|