diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-05-19 03:12:23 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-05-19 06:37:38 -0300 |
commit | c63176dc33a16c7f0dbccf1f3e03da25de508f09 (patch) | |
tree | f6cd6994e406c20dbbd9b24b3e333473f8d333b3 /libre/openttd/openttd.install | |
parent | 002cc042e7423a1212fb5086a2a487f315ef7fad (diff) | |
download | abslibre-c63176dc33a16c7f0dbccf1f3e03da25de508f09.tar.gz abslibre-c63176dc33a16c7f0dbccf1f3e03da25de508f09.tar.bz2 abslibre-c63176dc33a16c7f0dbccf1f3e03da25de508f09.zip |
openttd: add new package to [libre] -> https://labs.parabola.nu/issues/716
Diffstat (limited to 'libre/openttd/openttd.install')
-rw-r--r-- | libre/openttd/openttd.install | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libre/openttd/openttd.install b/libre/openttd/openttd.install new file mode 100644 index 000000000..85b22a1c5 --- /dev/null +++ b/libre/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 +} |