summarylogtreecommitdiffstats
path: root/ddclient.install
blob: f2f965b0b8695a588ba8eb4e8de57dfbb7c7eb15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# arg 1:  the new package version
post_install() {
cat << EOM

If you want to use ddclient with dhcpcd, cron or pppd,
see /etc/ddclient/samples for further instructions.

EOM
}

# arg 1:  the new package version
# arg 2:  the old package version
post_upgrade() {
if [ -f /etc/ddclient/ddclient.cache ]; then
	echo -n "Moving ddclient.cache from /etc/ddclient/ to /var/cache/ddclient/."
	mv /etc/ddclient/ddclient.cache /var/cache/ddclient/
	echo " (done)"
fi
}