www-apps/misskey: make cleanup more precise
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: tastytea <tastytea@tastytea.de>
This commit is contained in:
tastytea 2022-07-16 17:12:02 +02:00
parent c30c2f620e
commit 25979789e5
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM

View File

@ -114,7 +114,7 @@ pkg_preinst() {
# after an upgrade. Normally you would run 'yarn cleanall'. # after an upgrade. Normally you would run 'yarn cleanall'.
einfo "Cleaning up Misskey directory …" einfo "Cleaning up Misskey directory …"
su --shell /bin/bash --login --command \ 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" misskey || die "cleanup failed"
} }