diff options
Diffstat (limited to 'extra/xfce4-sensors-plugin/xfce4-sensors-plugin.install')
-rw-r--r-- | extra/xfce4-sensors-plugin/xfce4-sensors-plugin.install | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/extra/xfce4-sensors-plugin/xfce4-sensors-plugin.install b/extra/xfce4-sensors-plugin/xfce4-sensors-plugin.install index ef6375367..e4f8fd06c 100644 --- a/extra/xfce4-sensors-plugin/xfce4-sensors-plugin.install +++ b/extra/xfce4-sensors-plugin/xfce4-sensors-plugin.install @@ -1,25 +1,13 @@ -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.' + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor } 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_install } post_remove() { - post_common + post_install } # vim:set ts=2 sw=2 et: |