diff options
author | 2003-04-15 14:45:27 +0000 | |
---|---|---|
committer | 2003-04-15 14:45:27 +0000 | |
commit | b91ccc3ed429afbbe82b1ba6d6c5b89ceb04eadd (patch) | |
tree | d21bfad4f335ee915262cc5f34b8ac075b65982e /net-dns/bind/bind-9.2.2.ebuild | |
parent | Now ebuild config recreate chroot if deleted. closes #18290. (diff) | |
download | historical-b91ccc3ed429afbbe82b1ba6d6c5b89ceb04eadd.tar.gz historical-b91ccc3ed429afbbe82b1ba6d6c5b89ceb04eadd.tar.bz2 historical-b91ccc3ed429afbbe82b1ba6d6c5b89ceb04eadd.zip |
Now ebuild config recreate chroot if deleted. closes #18290.
Diffstat (limited to 'net-dns/bind/bind-9.2.2.ebuild')
-rw-r--r-- | net-dns/bind/bind-9.2.2.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net-dns/bind/bind-9.2.2.ebuild b/net-dns/bind/bind-9.2.2.ebuild index d75034c9c563..c375d7ecea3d 100644 --- a/net-dns/bind/bind-9.2.2.ebuild +++ b/net-dns/bind/bind-9.2.2.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/net-dns/bind/bind-9.2.2.ebuild,v 1.4 2003/04/06 20:18:45 zwelch Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/bind-9.2.2.ebuild,v 1.5 2003/04/15 14:44:57 mholzer Exp $ IUSE="ssl ipv6 doc" @@ -109,8 +109,9 @@ pkg_postinst() { pkg_config() { CHROOT=`sed -n 's/^[[:blank:]]\?CHROOT="\([^"]\+\)"/\1/p' /etc/conf.d/named 2>/dev/null` + EXISTS="no" - if [ -z "$CHROOT" -a ! -d "/chroot/dns" ]; then + if [ -z "${CHROOT}" -a ! -d "/chroot/dns" ]; then CHROOT="/chroot/dns" elif [ -d ${CHROOT} ]; then eerror; eerror "${CHROOT:-/chroot/dns} already exists. Quitting."; eerror; EXISTS="yes" |