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

svn at pcbsd.org svn at pcbsd.org
Wed Jun 20 10:22:19 PDT 2012


Author: kris
Date: 2012-06-20 17:22:19 +0000 (Wed, 20 Jun 2012)
New Revision: 17350

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

Create xdg menus directory automatically



Modified: pcbsd/current/src-sh/pc-xdgutil/pc-xdgutil
===================================================================
--- pcbsd/current/src-sh/pc-xdgutil/pc-xdgutil	2012-06-20 17:14:27 UTC (rev 17349)
+++ pcbsd/current/src-sh/pc-xdgutil/pc-xdgutil	2012-06-20 17:22:19 UTC (rev 17350)
@@ -27,6 +27,7 @@
 	fi
 
 	# Copy the default menu entry
+	mkdir -p /usr/local/etc/xdg/menus >/dev/null 2>/dev/null
 	cp ${PROGDIR}/applications.menu /usr/local/etc/xdg/menus/applications.menu
 
 	# Start copying the additional .menu files



More information about the Commits mailing list