www-apps/misskey: use read -r
continuous-integration/drone/push Build is passing Details

This commit is contained in:
tastytea 2022-12-03 16:59:28 +01:00
parent cc784a3214
commit 2e1ad15431
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ pkg_postinst() {
pkg_config() {
einfo "Initialising PostgreSQL database"
echo -n "password for misskey user: "
read MY_PASSWORD || die "Reading password failed"
read -r MY_PASSWORD || die "Reading password failed"
echo "create database misskey; create user misskey with encrypted password '${MY_PASSWORD}'; grant all privileges on database misskey to misskey; \q" \
| su --login --command psql postgres || die "database creation failed"