summaryrefslogtreecommitdiff
path: root/extra/xfce4-sensors-plugin/xfce4-sensors-plugin.install
blob: ef6375367a7bc29b85bfd5945297801b7ae52ee3 (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
25
post_common() {
  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}

post_install() {
  post_common

  echo '> Make sure the hddtemp daemon is running, otherwise xfce4-sensors will'
  echo '> crash on start.'
}

post_upgrade() {
  post_common

  if (($(vercmp $2 1.2.3-4) < 0)); then
    echo '> Make sure the hddtemp daemon is running, otherwise xfce4-sensors will'
    echo '> crash on start.'
  fi
}

post_remove() {
  post_common
}

# vim:set ts=2 sw=2 et: