summarylogtreecommitdiffstats
path: root/darktable.install
diff options
context:
space:
mode:
Diffstat (limited to 'darktable.install')
-rw-r--r--darktable.install23
1 files changed, 23 insertions, 0 deletions
diff --git a/darktable.install b/darktable.install
new file mode 100644
index 000000000000..9fd6af2938f3
--- /dev/null
+++ b/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
+}