www-apps/misskey: Only delete npm-cache with USE=source
This commit is contained in:
parent
2618003240
commit
6c2abf3093
|
@ -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
|
||||
|
|
Reference in New Issue
Block a user