summaryrefslogtreecommitdiff
path: root/community-testing/openttd/openttd.install
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/openttd/openttd.install')
-rw-r--r--community-testing/openttd/openttd.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/community-testing/openttd/openttd.install b/community-testing/openttd/openttd.install
new file mode 100644
index 000000000..85b22a1c5
--- /dev/null
+++ b/community-testing/openttd/openttd.install
@@ -0,0 +1,17 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor > /dev/null 2>&1
+ update-desktop-database > /dev/null 2>&1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ update-desktop-database > /dev/null 2>&1
+}
+
+post_remove() {
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor > /dev/null 2>&1
+ update-desktop-database > /dev/null 2>&1
+}