[Lunar-commits] r19782 - moonbase/trunk/i18n/ding

Jannis Pohlmann jannis at lunar-linux.org
Fri Apr 21 13:11:11 UTC 2006


Author: jannis
Date: 2006-04-21 13:11:09 +0000 (Fri, 21 Apr 2006)
New Revision: 19782

Added:
   moonbase/trunk/i18n/ding/POST_INSTALL
   moonbase/trunk/i18n/ding/POST_REMOVE
Modified:
   moonbase/trunk/i18n/ding/BUILD
Log:
Move desktop database update out of BUILD (otherwise installwatch would remove mimeinfo.cache when ding is removed); update database after installation and removal

Modified: moonbase/trunk/i18n/ding/BUILD
===================================================================
--- moonbase/trunk/i18n/ding/BUILD	2006-04-21 13:01:48 UTC (rev 19781)
+++ moonbase/trunk/i18n/ding/BUILD	2006-04-21 13:11:09 UTC (rev 19782)
@@ -18,11 +18,6 @@
   install -m 644 -t $DEFAULT_PREFIX/share/pixmaps ding.png &&
 
   # Install desktop file
-  install -m 644 -t $DEFAULT_PREFIX/share/applications ding.desktop &&
+  install -m 644 -t $DEFAULT_PREFIX/share/applications ding.desktop
 
-  # Update desktop files database
-  if module_installed desktop-file-utils; then
-    update-desktop-database
-  fi
-
 ) > $C_FIFO 2>&1

Added: moonbase/trunk/i18n/ding/POST_INSTALL
===================================================================
--- moonbase/trunk/i18n/ding/POST_INSTALL	                        (rev 0)
+++ moonbase/trunk/i18n/ding/POST_INSTALL	2006-04-21 13:11:09 UTC (rev 19782)
@@ -0,0 +1,8 @@
+(
+
+  # Update desktop database
+  if module_installed desktp-file-utils; then
+    update-desktop-database
+  fi
+
+) > $C_FIFO 2>&1

Added: moonbase/trunk/i18n/ding/POST_REMOVE
===================================================================
--- moonbase/trunk/i18n/ding/POST_REMOVE	                        (rev 0)
+++ moonbase/trunk/i18n/ding/POST_REMOVE	2006-04-21 13:11:09 UTC (rev 19782)
@@ -0,0 +1,4 @@
+# Update desktop database
+if module_installed desktop-file-utils; then
+  update-desktop-database
+fi



More information about the Lunar-commits mailing list