[PC-BSD Commits] r8148 - pcbsd/current/src-sh/pc-xdgutil

svn at pcbsd.org svn at pcbsd.org
Mon Dec 6 08:52:35 PST 2010


Author: kris
Date: 2010-12-06 08:52:35 -0800 (Mon, 06 Dec 2010)
New Revision: 8148

Modified:
   pcbsd/current/src-sh/pc-xdgutil/pc-xdgutil
Log:

Make sure pc-xdgutil copies the default applications.menu over when run



Modified: pcbsd/current/src-sh/pc-xdgutil/pc-xdgutil
===================================================================
--- pcbsd/current/src-sh/pc-xdgutil/pc-xdgutil	2010-12-04 18:16:07 UTC (rev 8147)
+++ pcbsd/current/src-sh/pc-xdgutil/pc-xdgutil	2010-12-06 16:52:35 UTC (rev 8148)
@@ -26,11 +26,13 @@
 		cp ${PROGDIR}/desktop-dirs/*.directory /usr/local/kde4/share/desktop-directories/
 	fi
 
-	# Start copying the .menu files
+	# Copy the default menu entry
+	cp ${PROGDIR}/applications.menu /usr/local/etc/xdg/menus/applications.menu
+
+	# Start copying the additional .menu files
 mFiles="/usr/local/etc/xdg/menus/gnome-applications.menu \
 /usr/local/etc/xdg/menus/xfce-applications.menu \
 /usr/local/kde4/etc/xdg/menus/applications.menu"
-		
 	for i in $mFiles
 	do
 		if [ -e "${i}" ] ; then 



More information about the Commits mailing list