summaryrefslogtreecommitdiff
path: root/community/xmoto/xmoto.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/xmoto/xmoto.install')
-rw-r--r--community/xmoto/xmoto.install10
1 files changed, 3 insertions, 7 deletions
diff --git a/community/xmoto/xmoto.install b/community/xmoto/xmoto.install
index 52399d4c1..e111ef946 100644
--- a/community/xmoto/xmoto.install
+++ b/community/xmoto/xmoto.install
@@ -1,15 +1,11 @@
post_install() {
- /usr/bin/update-desktop-database
+ update-desktop-database -q
}
post_upgrade() {
- /usr/bin/update-desktop-database
+ post_install
}
post_remove() {
- /usr/bin/update-desktop-database
+ post_install
}
-
-op=$1
-shift
-$op $*