Skip to content

Commit 9a28470

Browse files
committed
Fix plugin not updating if already installed
1 parent b5d569b commit 9a28470

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dev/flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@
212212
cd ./data/wordpress1
213213
${pkgs.wp-cli}/bin/wp core install --url="https://example.com" --title=WordPress --admin_user=user --admin_email="user@example.com" --admin_password=pass
214214
${pkgs.wp-cli}/bin/wp option update permalink_structure "/%postname%/"
215+
rm -rf "./wp-content/plugins/wp2static"
215216
${pkgs.wp-cli}/bin/wp plugin install --activate ${wp2static}/wp2static.zip
216217
'';
217218
depends_on."mysql1-configure".condition = "process_completed";

0 commit comments

Comments
 (0)