diff options
Diffstat (limited to 'sys-libs/nss-mysql/nss-mysql-0.43.ebuild')
-rw-r--r-- | sys-libs/nss-mysql/nss-mysql-0.43.ebuild | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sys-libs/nss-mysql/nss-mysql-0.43.ebuild b/sys-libs/nss-mysql/nss-mysql-0.43.ebuild index 55320da413e9..18361036441b 100644 --- a/sys-libs/nss-mysql/nss-mysql-0.43.ebuild +++ b/sys-libs/nss-mysql/nss-mysql-0.43.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/nss-mysql/nss-mysql-0.43.ebuild,v 1.7 2003/07/18 18:19:10 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/nss-mysql/nss-mysql-0.43.ebuild,v 1.8 2003/09/07 00:22:30 msterret Exp $ DESCRIPTION="NSS MySQL Module" HOMEPAGE="http://savannah.gnu.org/projects/nss-mysql" @@ -51,38 +51,38 @@ pkg_config() { echo "typically a user named root." echo echo -n "MySQL-root-user [root]: " - read USERNAME + read USERNAME if [ -z "${USERNAME}" ]; then USERNAME="root" fi echo -n "Is it required to use a password in order to access mysql with ${USERNAME} [Y/n]: " read NEEDPASS POPT="-p" - if [ "${NEEDPASS}" == "n" ]; then + if [ "${NEEDPASS}" == "n" ]; then POPT="" fi cmd="${ROOT}/usr/bin/makepasswd --minchars=10 --maxchars=12" - if [ -f "${cmd}" ]; then + if [ -f "${cmd}" ]; then PASS=`$cmd` PAS2=`$cmd` fi cmd="${ROOT}/usr/bin/passook" - if [ -f "${cmd}" ]; then + if [ -f "${cmd}" ]; then PASS=`$cmd` PAS2=`$cmd` fi - if [ -z "${PASS}" ]; then + if [ -z "${PASS}" ]; then echo ""; echo "Didn't manage to find a passwd-generator, please type a passwords of your choise"; echo -n "Shadow-access-password (root-only): "; - read PASS + read PASS echo -n "Select-public-info-password: "; - read PAS2 + read PAS2 fi - if [ -z "${PAS2}" ]; then + if [ -z "${PAS2}" ]; then PAS2="badbadbadPASSWDMHALL20020715"; fi - if [ -z "${PASS}" ]; then + if [ -z "${PASS}" ]; then einfo "I will not accept that you leave that the shadow-access-password empty" die fi |