www-apps/misskey: use read -r
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
cc784a3214
commit
2e1ad15431
|
@ -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"
|
||||
|
||||
|
|
Reference in New Issue
Block a user