summaryrefslogtreecommitdiff
path: root/community/darktable/darktable.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/darktable/darktable.install')
-rw-r--r--community/darktable/darktable.install12
1 files changed, 2 insertions, 10 deletions
diff --git a/community/darktable/darktable.install b/community/darktable/darktable.install
index 9fd6af293..8ea5d73af 100644
--- a/community/darktable/darktable.install
+++ b/community/darktable/darktable.install
@@ -1,8 +1,5 @@
-pkgname=darktable
-
post_install() {
-# usr/sbin/gconfpkg --install ${pkgname}
- [ -x `which update-desktop-database` ] && update-desktop-database -q
+ [ -x `which update-desktop-database 2>/dev/null` ] && update-desktop-database -q
}
pre_upgrade() {
@@ -13,11 +10,6 @@ post_upgrade() {
post_install
}
-pre_remove() {
-# usr/sbin/gconfpkg --uninstall ${pkgname}
- true
-}
-
post_remove() {
- [ -x `which update-desktop-database` ] && update-desktop-database -q
+ [ -x `which update-desktop-database 2>/dev/null` ] && update-desktop-database -q
}