mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-25 02:34:17 +00:00
Improved wording.
This commit is contained in:
parent
6bbce3f2eb
commit
75620d8567
@ -84,17 +84,25 @@ else
|
|||||||
if try_db_user "${USER}" ; then
|
if try_db_user "${USER}" ; then
|
||||||
export DBA=""
|
export DBA=""
|
||||||
else
|
else
|
||||||
cat <<EOFAILURE
|
if try_db_user "${PGUSER}" ; then
|
||||||
|
export DBA=""
|
||||||
|
else
|
||||||
|
cat <<EOFAILURE
|
||||||
|
* * * * WARNING * * * *
|
||||||
I cannot find a usable database user to construct the DAViCal database with, but
|
I cannot find a usable database user to construct the DAViCal database with, but
|
||||||
I may have successfully created the davical_app and davical_dba users.
|
may have successfully created the davical_app and davical_dba users (I tried :-).
|
||||||
|
|
||||||
You should edit your pg_hba.conf file to give permissions to the davical_app and
|
You should edit your pg_hba.conf file to give permissions to the davical_app and
|
||||||
davical_dba users to access the database and run this script again. If you still
|
davical_dba users to access the database and run this script again. If you still
|
||||||
see this message, you will need to make sure you run the script as a user which
|
continue to see this message then you will need to make sure you run the script
|
||||||
has full permissions to access the local PostgreSQL database.
|
as a user with full permissions to access the local PostgreSQL database.
|
||||||
|
|
||||||
|
If your PostgreSQL database is non-standard then you will need to set the PGHOST,
|
||||||
|
PGPORT and/or PGCLUSTER environment variables before running this script again.
|
||||||
|
|
||||||
EOFAILURE
|
EOFAILURE
|
||||||
exit 1
|
exit 1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@ -145,7 +153,12 @@ echo "NOTE"
|
|||||||
echo "===="
|
echo "===="
|
||||||
cat "${INSTALL_NOTE_FN}"
|
cat "${INSTALL_NOTE_FN}"
|
||||||
rm "${INSTALL_NOTE_FN}"
|
rm "${INSTALL_NOTE_FN}"
|
||||||
echo ""
|
|
||||||
echo "* The password for the 'admin' user has been set to '${ADMINPW}'"
|
cat <<FRIENDLY
|
||||||
echo ""
|
|
||||||
echo "Thanks for trying DAViCal! For help, visit #davical on irc.oftc.net."
|
* The password for the 'admin' user has been set to '${ADMINPW}'"
|
||||||
|
|
||||||
|
Thanks for trying DAViCal! Check in /usr/share/doc/rscds/examples/ for
|
||||||
|
some configuration examples. For help, visit #davical on irc.oftc.net.
|
||||||
|
|
||||||
|
FRIENDLY
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user