summaryrefslogtreecommitdiff
path: root/community/rutilt/rutilt.install
blob: b8397905a50f061a862e2d76c45e14c8406cd3ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# arg 1:  the new package version
post_install() {
which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true

cat << EOF

==> Remember to install "dhclient" or customize the "set_ip.sh" to match
==> your needs, don't forget that it is executed with root privileges.
==> Note: rutilt 0.16 doesn't read the old configs, so you have to
==> recreate/rename it.

EOF
}

# arg 1:  the new package version
# arg 2:  the old package version
post_upgrade() {
  post_install $1
}

post_remove() {
  which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
}