summaryrefslogtreecommitdiff
path: root/~xihh/retroshare/retroshare.install
diff options
context:
space:
mode:
Diffstat (limited to '~xihh/retroshare/retroshare.install')
-rw-r--r--~xihh/retroshare/retroshare.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/~xihh/retroshare/retroshare.install b/~xihh/retroshare/retroshare.install
new file mode 100644
index 000000000..e406a579e
--- /dev/null
+++ b/~xihh/retroshare/retroshare.install
@@ -0,0 +1,15 @@
+post_install() {
+ # Update Desktop DB
+ if [ "x`which update-desktop-database 2>/dev/null`" != "x" ]; then
+ echo "Update desktop database..."
+ update-desktop-database -q ;
+ fi
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}