diff packaging/linux-installer.inc.in @ 916:1cc9faa572fd

(issue53) Update desktop database after desktop file removal
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 20 Aug 2014 17:30:47 +0200
parents 78096ad6f418
children e977f7a0e8fd
line wrap: on
line diff
--- a/packaging/linux-installer.inc.in	Wed Aug 20 17:23:11 2014 +0200
+++ b/packaging/linux-installer.inc.in	Wed Aug 20 17:30:47 2014 +0200
@@ -304,6 +304,7 @@
 
   getxt "Removing TrustBridge from autostart\n"
   rm_files "${autostart_path}/trustbridge.desktop"
+  update-desktop-database 2>&1 || true
 
   getxt "Removing TrustBridge from start menu\n"
   rm_files "${startmenu_path}/trustbridge.desktop"

http://wald.intevation.org/projects/trustbridge/