summaryrefslogtreecommitdiff
path: root/community-staging/darktable/darktable.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-01 00:01:57 +0000
committerroot <root@rshg054.dnsready.net>2012-08-01 00:01:57 +0000
commita71961a43ef48f47d3575915f63099308a18a263 (patch)
tree7cff98e17a13de6beae6d0a56c0d1bf75a74fb5a /community-staging/darktable/darktable.install
parent5b3474881a154216b47c6e154552ee5f9c68c509 (diff)
Wed Aug 1 00:01:57 UTC 2012
Diffstat (limited to 'community-staging/darktable/darktable.install')
-rw-r--r--community-staging/darktable/darktable.install23
1 files changed, 23 insertions, 0 deletions
diff --git a/community-staging/darktable/darktable.install b/community-staging/darktable/darktable.install
new file mode 100644
index 000000000..9fd6af293
--- /dev/null
+++ b/community-staging/darktable/darktable.install
@@ -0,0 +1,23 @@
+pkgname=darktable
+
+post_install() {
+# usr/sbin/gconfpkg --install ${pkgname}
+ [ -x `which update-desktop-database` ] && update-desktop-database -q
+}
+
+pre_upgrade() {
+ pre_remove
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+# usr/sbin/gconfpkg --uninstall ${pkgname}
+ true
+}
+
+post_remove() {
+ [ -x `which update-desktop-database` ] && update-desktop-database -q
+}