[PATCH] (issue53) Update desktop database after desktop file removal

Wald Commits scm-commit at wald.intevation.org
Wed Aug 20 17:30:51 CEST 2014


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1408548647 -7200
# Node ID 1cc9faa572fd317ad77ac47e864d974ef50547e2
# Parent  715d41aac9c895ede1e161843bf33d759f0e1f35
(issue53) Update desktop database after desktop file removal

diff -r 715d41aac9c8 -r 1cc9faa572fd packaging/linux-installer.inc.in
--- 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"


More information about the Trustbridge-commits mailing list