www-apps/misskey: Remove some dirs to get rid of cached objects
Signed-off-by: tastytea <tastytea@tastytea.de>
This commit is contained in:
parent
d32c382b8b
commit
b8266c91ad
|
@ -95,6 +95,14 @@ src_install() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
ebegin "Removing ${EROOT}/opt/misskey/misskey/{built,node_modules,packages}"
|
||||||
|
rm -rf "${EROOT}"/opt/misskey/misskey/built || die
|
||||||
|
rm -rf "${EROOT}"/opt/misskey/misskey/node_modules || die
|
||||||
|
rm -rf "${EROOT}"/opt/misskey/misskey/packages || die
|
||||||
|
eend
|
||||||
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
elog "Run emerge --config ${CATEGORY}/${PN} to initialise the PostgreSQL database"
|
elog "Run emerge --config ${CATEGORY}/${PN} to initialise the PostgreSQL database"
|
||||||
elog "Run 'su -c \"yarn migrate\" misskey' in ${EROOT}/opt/misskey/misskey and restart the service to apply changes"
|
elog "Run 'su -c \"yarn migrate\" misskey' in ${EROOT}/opt/misskey/misskey and restart the service to apply changes"
|
||||||
|
|
Reference in New Issue
Block a user