www-apps/misskey: make cleanup more precise
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: tastytea <tastytea@tastytea.de>
This commit is contained in:
parent
c30c2f620e
commit
25979789e5
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue
Block a user