From 25979789e567102931f45582c181629a53165539 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 16 Jul 2022 17:12:02 +0200 Subject: [PATCH] www-apps/misskey: make cleanup more precise Signed-off-by: tastytea --- .../{misskey-12.115.0.ebuild => misskey-12.115.0-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename www-apps/misskey/{misskey-12.115.0.ebuild => misskey-12.115.0-r1.ebuild} (97%) diff --git a/www-apps/misskey/misskey-12.115.0.ebuild b/www-apps/misskey/misskey-12.115.0-r1.ebuild similarity index 97% rename from www-apps/misskey/misskey-12.115.0.ebuild rename to www-apps/misskey/misskey-12.115.0-r1.ebuild index 4619f3b..315adf2 100644 --- a/www-apps/misskey/misskey-12.115.0.ebuild +++ b/www-apps/misskey/misskey-12.115.0-r1.ebuild @@ -114,7 +114,7 @@ pkg_preinst() { # after an upgrade. Normally you would run 'yarn cleanall'. einfo "Cleaning up Misskey directory …" su --shell /bin/bash --login --command \ - "rm -rf misskey/{built,packages,node_modules}" \ + "rm -rf misskey/{built,node_modules} && rm -rf misskey/packages/{backend,client,sw}/{built,node_modules}" \ misskey || die "cleanup failed" }