forked from tastytea/overlay
www-apps/misskey: fix cd dir
This commit is contained in:
parent
3c8af31fc1
commit
a0bbafeb97
|
@ -141,7 +141,7 @@ pkg_postinst() {
|
||||||
if su --command "psql misskey -c ''" postgres; then
|
if su --command "psql misskey -c ''" postgres; then
|
||||||
einfo "Running migration…"
|
einfo "Running migration…"
|
||||||
su --shell /bin/bash --command \
|
su --shell /bin/bash --command \
|
||||||
"cd \"${ED}\"/opt/misskey/misskey && pnpm run migrate" \
|
"cd \"${EPREFIX}\"/opt/misskey/misskey && pnpm run migrate" \
|
||||||
misskey || die "migration failed"
|
misskey || die "migration failed"
|
||||||
else
|
else
|
||||||
elog "Run emerge --config ${CATEGORY}/${PN} to initialise the PostgreSQL database"
|
elog "Run emerge --config ${CATEGORY}/${PN} to initialise the PostgreSQL database"
|
||||||
|
@ -162,7 +162,7 @@ pkg_config() {
|
||||||
| su --command psql postgres || die "database creation failed"
|
| su --command psql postgres || die "database creation failed"
|
||||||
|
|
||||||
su --shell /bin/bash --command \
|
su --shell /bin/bash --command \
|
||||||
"cd \"${ED}\"/opt/misskey/misskey && pnpm run init" \
|
"cd \"${EPREFIX}\"/opt/misskey/misskey && pnpm run init" \
|
||||||
misskey || die "database initialisation failed"
|
misskey || die "database initialisation failed"
|
||||||
|
|
||||||
ewarn "When you first start Misskey you will be asked to add an admin account via the web interface, and registrations are enabled."
|
ewarn "When you first start Misskey you will be asked to add an admin account via the web interface, and registrations are enabled."
|
||||||
|
|
Loading…
Reference in New Issue
Block a user