summaryrefslogtreecommitdiff
path: root/community/contacts/contacts.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/contacts/contacts.install')
-rw-r--r--community/contacts/contacts.install24
1 files changed, 24 insertions, 0 deletions
diff --git a/community/contacts/contacts.install b/community/contacts/contacts.install
new file mode 100644
index 000000000..f52f6a097
--- /dev/null
+++ b/community/contacts/contacts.install
@@ -0,0 +1,24 @@
+pkgname=contacts
+
+post_install() {
+ gconfpkg --install $pkgname
+ update-desktop-database -q
+ xdg-icon-resource forceupdate
+}
+
+pre_upgrade() {
+ pre_remove $1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ gconfpkg --uninstall $pkgname
+}
+
+post_remove() {
+ update-desktop-database -q
+ xdg-icon-resource forceupdate
+}