From e43c3a840b84b316c51989284bd084b4ae1b60b6 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 13 Apr 2020 17:56:37 +0200 Subject: ddclient: T2185: clean leftover files from base package --- data/live-build-config/hooks/live/20-rm_ddclient_hook.chroot | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'data/live-build-config') diff --git a/data/live-build-config/hooks/live/20-rm_ddclient_hook.chroot b/data/live-build-config/hooks/live/20-rm_ddclient_hook.chroot index 173b4e5c..350843c7 100755 --- a/data/live-build-config/hooks/live/20-rm_ddclient_hook.chroot +++ b/data/live-build-config/hooks/live/20-rm_ddclient_hook.chroot @@ -1,3 +1,9 @@ #!/bin/sh -rm -f /etc/dhcp/dhclient-exit-hooks.d/ddclient +if [ -f /etc/dhcp/dhclient-exit-hooks.d/ddclient ]; then + rm -f /etc/dhcp/dhclient-exit-hooks.d/ddclient +fi + +if [ -f /etc/ddclient.conf ]; then + rm -f /etc/ddclient.conf +fi -- cgit v1.2.3