updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / ddclient-valuedomain / ddclient.install
blob55b0e1b6a8f3b6350edd42a12b86addadbb13bb0
1 # arg 1:  the new package version
2 post_install() {
3 cat << EOM
5 If you want to use ddclient with dhcpcd, cron or pppd,
6 see /etc/ddclient/samples for further instructions.
8 If you have ddclient in the DAEMONS array of /etc/rc.conf:
9 - Change /etc/conf.d/ddclient according to your needs.
10 - This setting OVERRIDES any setting in
11   /etc/ddclient/ddclient.conf
13 EOM
16 # arg 1:  the new package version
17 # arg 2:  the old package version
18 post_upgrade() {
19   
20 if [ -f /etc/ddclient/ddclient.cache ]; then
21         echo -n "Moving ddclient.cache from /etc/ddclient/ to /var/cache/ddclient/."
22         mv /etc/ddclient/ddclient.cache /var/cache/ddclient/
23         echo " (done)"
26 if [ "$(vercmp $2 3.7.3-2)" -lt 0 ]; then
27 cat << EOM
29 If you have ddclient in the DAEMONS array of /etc/rc.conf:
30 - Change /etc/conf.d/ddclient according to your needs.
31 - This setting OVERRIDES any setting in
32   /etc/ddclient/ddclient.conf
34 EOM