summaryrefslogtreecommitdiff
path: root/extra/cdrdao/gcdmaster.install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/cdrdao/gcdmaster.install')
-rw-r--r--extra/cdrdao/gcdmaster.install22
1 files changed, 22 insertions, 0 deletions
diff --git a/extra/cdrdao/gcdmaster.install b/extra/cdrdao/gcdmaster.install
new file mode 100644
index 000000000..ed2efc6aa
--- /dev/null
+++ b/extra/cdrdao/gcdmaster.install
@@ -0,0 +1,22 @@
+pkgname=gcdmaster
+
+post_install() {
+ usr/sbin/gconfpkg --install ${pkgname}
+ update-mime-database usr/share/mime
+}
+
+pre_upgrade() {
+ pre_remove $1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ usr/sbin/gconfpkg --uninstall ${pkgname}
+}
+
+post_remove() {
+ update-mime-database usr/share/mime
+}