www-apps/misskey: setup pnpm in pkg_{postinst,config}
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3993de0b88
commit
d18811561c
|
@ -137,6 +137,7 @@ pkg_preinst() {
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
|
setup_pnpm
|
||||||
# Only run migrations if database exists
|
# Only run migrations if database exists
|
||||||
if su --command "psql misskey -c ''" postgres; then
|
if su --command "psql misskey -c ''" postgres; then
|
||||||
einfo "Running migration…"
|
einfo "Running migration…"
|
||||||
|
@ -155,6 +156,7 @@ pkg_postinst() {
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_config() {
|
pkg_config() {
|
||||||
|
setup_pnpm
|
||||||
einfo "Initialising PostgreSQL database"
|
einfo "Initialising PostgreSQL database"
|
||||||
echo -n "password for misskey user: "
|
echo -n "password for misskey user: "
|
||||||
read -r MY_PASSWORD || die "Reading password failed"
|
read -r MY_PASSWORD || die "Reading password failed"
|
||||||
|
|
Reference in New Issue
Block a user