summaryrefslogtreecommitdiff
path: root/testing/xfce4-sensors-plugin/xfce4-sensors-plugin.install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/xfce4-sensors-plugin/xfce4-sensors-plugin.install')
-rw-r--r--testing/xfce4-sensors-plugin/xfce4-sensors-plugin.install25
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/xfce4-sensors-plugin/xfce4-sensors-plugin.install b/testing/xfce4-sensors-plugin/xfce4-sensors-plugin.install
new file mode 100644
index 000000000..ef6375367
--- /dev/null
+++ b/testing/xfce4-sensors-plugin/xfce4-sensors-plugin.install
@@ -0,0 +1,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: