From 6c2abf30937636cc3f7f67d523c3292d154c9b00 Mon Sep 17 00:00:00 2001 From: tastytea Date: Tue, 24 May 2022 21:53:40 +0200 Subject: [PATCH] www-apps/misskey: Only delete npm-cache with USE=source --- www-apps/misskey/misskey-12.110.1-r5.ebuild | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/www-apps/misskey/misskey-12.110.1-r5.ebuild b/www-apps/misskey/misskey-12.110.1-r5.ebuild index 9335e6e..985e747 100644 --- a/www-apps/misskey/misskey-12.110.1-r5.ebuild +++ b/www-apps/misskey/misskey-12.110.1-r5.ebuild @@ -80,11 +80,10 @@ src_compile() { } src_install() { - rm -rf npm-cache || die "Deleting cache failed" - insinto opt/misskey/misskey insopts -o misskey -g misskey if use source; then + rm -rf npm-cache || die "Deleting cache failed" doins -r . else doins -r package.json .node-version .config built packages