diff options
author | Thomas Anderson <gentoofan23@gentoo.org> | 2009-02-25 13:43:06 +0000 |
---|---|---|
committer | Thomas Anderson <gentoofan23@gentoo.org> | 2009-02-25 13:43:06 +0000 |
commit | e4f2925cf6cee6e3d2a6c0bd748c06e748c07b9d (patch) | |
tree | 495c5464091516c2fd4de1aa6724a75cc82d26e3 /net-dns/ddclient | |
parent | really stable amd64, bug 259919 (diff) | |
download | gentoo-2-e4f2925cf6cee6e3d2a6c0bd748c06e748c07b9d.tar.gz gentoo-2-e4f2925cf6cee6e3d2a6c0bd748c06e748c07b9d.tar.bz2 gentoo-2-e4f2925cf6cee6e3d2a6c0bd748c06e748c07b9d.zip |
Really Fix ROOT abuse, thanks to Thilo Bangert in bug #258098
Diffstat (limited to 'net-dns/ddclient')
-rw-r--r-- | net-dns/ddclient/ddclient-3.8.0.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net-dns/ddclient/ddclient-3.8.0.ebuild b/net-dns/ddclient/ddclient-3.8.0.ebuild index bea07e603c09..9a7a2caabc00 100644 --- a/net-dns/ddclient/ddclient-3.8.0.ebuild +++ b/net-dns/ddclient/ddclient-3.8.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/ddclient/ddclient-3.8.0.ebuild,v 1.1 2009/02/04 14:17:14 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/ddclient/ddclient-3.8.0.ebuild,v 1.2 2009/02/25 13:43:06 gentoofan23 Exp $ inherit eutils @@ -57,7 +57,7 @@ src_install() { # Filename of sample conf - use live filename if available local sample=${PN}.conf - [[ -e "${ROOT}/etc/${PN}/${sample}" ]] && sample="${sample}.sample" + [[ -e "/etc/${PN}/${sample}" ]] && sample="${sample}.sample" insinto /etc/${PN} insopts -m 0640 -o root -g ${PN} newins sample-etc_${PN}.conf "${sample}" || die "newins conf failed" |