summaryrefslogtreecommitdiff
path: root/pcr/retroshare/retroshare.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-19 01:37:15 -0700
committerroot <root@rshg054.dnsready.net>2013-06-19 01:37:15 -0700
commit603bdf488872afbc69493bc640aedb7548f3ed51 (patch)
tree60945d453f0d8b5f8fb9ed8cb8d4e35c5d8d5dcf /pcr/retroshare/retroshare.install
parent614d2fec699c594b1a3a25c973e0b5150302ff0e (diff)
Wed Jun 19 01:36:52 PDT 2013
Diffstat (limited to 'pcr/retroshare/retroshare.install')
-rw-r--r--pcr/retroshare/retroshare.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/pcr/retroshare/retroshare.install b/pcr/retroshare/retroshare.install
new file mode 100644
index 000000000..e48df1361
--- /dev/null
+++ b/pcr/retroshare/retroshare.install
@@ -0,0 +1,15 @@
+post_install() {
+ # Update Desktop DB
+ if [[ -x /usr/bin/update-desktop-database ]]; then
+ echo "Update desktop database..."
+ update-desktop-database -q ;
+ fi
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}