summaryrefslogtreecommitdiff
path: root/net-dns/ddclient/ddclient-3.10.0_rc2.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-11 01:37:01 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-11 01:37:01 +0100
commit179be85ade6b2b47bf362865b5c375969ab5ddc8 (patch)
tree073bcd19b7e1bb84acd2f683936671ee88860970 /net-dns/ddclient/ddclient-3.10.0_rc2.ebuild
parent948f9476d6a417da6048d4291bf36b0507293d63 (diff)
gentoo auto-resync : 11:10:2022 - 01:37:00
Diffstat (limited to 'net-dns/ddclient/ddclient-3.10.0_rc2.ebuild')
-rw-r--r--net-dns/ddclient/ddclient-3.10.0_rc2.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/net-dns/ddclient/ddclient-3.10.0_rc2.ebuild b/net-dns/ddclient/ddclient-3.10.0_rc2.ebuild
index 62aa3c885802..f4d5478a2573 100644
--- a/net-dns/ddclient/ddclient-3.10.0_rc2.ebuild
+++ b/net-dns/ddclient/ddclient-3.10.0_rc2.ebuild
@@ -66,12 +66,12 @@ pkg_postinst() {
if [[ ${REPLACING_VERSIONS} ]]; then
for v in ${REPLACING_VERSIONS}; do
if ver_test "${v}" -lt 3.10.0; then
- cp /etc/ddclient/ddclient.conf /etc/ddclient.conf || die
-
- ewarn "Your DDClient configuration has been copied from"
- ewarn "'/etc/ddclient/ddclient.conf' to '/etc/ddclient.conf'."
- ewarn "Please check your configuration."
-
+ if [ -f "${EROOT}/etc/ddclient/ddclient.conf" ]; then
+ cp /etc/ddclient/ddclient.conf /etc/ddclient.conf || die
+ ewarn "Your DDClient configuration has been copied from"
+ ewarn "'/etc/ddclient/ddclient.conf' to '/etc/ddclient.conf'."
+ ewarn "Please check your configuration."
+ fi
break
fi
done