[PC-BSD Commits] r7927 - pcbsd/current/src-sh/pbi-manager/module-examples

svn at pcbsd.org svn at pcbsd.org
Wed Oct 27 16:15:29 PDT 2010


Author: kris
Date: 2010-10-27 16:15:28 -0700 (Wed, 27 Oct 2010)
New Revision: 7927

Modified:
   pcbsd/current/src-sh/pbi-manager/module-examples/convertoldmod.sh
Log:

Fix module conversion, be sure to set Cat to Network not Internet



Modified: pcbsd/current/src-sh/pbi-manager/module-examples/convertoldmod.sh
===================================================================
--- pcbsd/current/src-sh/pbi-manager/module-examples/convertoldmod.sh	2010-10-27 23:02:12 UTC (rev 7926)
+++ pcbsd/current/src-sh/pbi-manager/module-examples/convertoldmod.sh	2010-10-27 23:15:28 UTC (rev 7927)
@@ -210,7 +210,10 @@
 			tt=""
 		fi
 
-		# Setup category properly
+		# Convert to correct CAT
+		if [ "$ncat" = "Internet" ] ; then
+			ncat="Network"
+		fi
 		ncat="`echo $cat | sed 's|/|;|g'`;"	
 
 	 	# Create the menu .desktop file now



More information about the Commits mailing list