diff --git a/web/wordpress-plugins/default.nix b/web/wordpress-plugins/default.nix index d180a2f..80ec82a 100644 --- a/web/wordpress-plugins/default.nix +++ b/web/wordpress-plugins/default.nix @@ -24,10 +24,9 @@ in ''; installPhase = "mkdir -p $out; cp -R $pname/* $out/"; meta = {inherit (source) description;}; - passthru.updateScript = - if name == "activitypub" - then ./update.sh - else []; }; }) plugins) + // { + passthru.updateScript = ./update.sh; + } diff --git a/web/wordpress-themes/default.nix b/web/wordpress-themes/default.nix index 615cd52..c277369 100644 --- a/web/wordpress-themes/default.nix +++ b/web/wordpress-themes/default.nix @@ -24,10 +24,9 @@ in ''; installPhase = "mkdir -p $out; cp -R $pname/* $out/"; meta = {inherit (source) description;}; - passthru.updateScript = - if name == "activitypub" - then ./update.sh - else []; }; }) themes) + // { + passthru.updateScript = ./update.sh; + }