summaryrefslogtreecommitdiff
path: root/extra/ristretto/ristretto.install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ristretto/ristretto.install')
-rw-r--r--extra/ristretto/ristretto.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/ristretto/ristretto.install b/extra/ristretto/ristretto.install
new file mode 100644
index 000000000..75e2b7b55
--- /dev/null
+++ b/extra/ristretto/ristretto.install
@@ -0,0 +1,13 @@
+post_install() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}