[Cdd-commits] r502 - cdd/trunk/cdd/share/menu

CDD Subversion Commit noreply at alioth.debian.org
Wed Dec 12 20:56:12 UTC 2007


Author: tille
Date: Wed Dec 12 20:56:12 2007
New Revision: 502

Modified:
   cdd/trunk/cdd/share/menu/cdd-menu
Log:
Add menu-1 in any case


Modified: cdd/trunk/cdd/share/menu/cdd-menu
==============================================================================
--- cdd/trunk/cdd/share/menu/cdd-menu	(original)
+++ cdd/trunk/cdd/share/menu/cdd-menu	Wed Dec 12 20:56:12 2007
@@ -165,11 +165,10 @@
 		pkgmenufile=/usr/lib/menu/"$pkg"
 	    fi
             if [ ! -z "$pkgmenufile" ] ; then
-		# Force menu-1 entry in case before this was menu-2 used if
-		# no menu format is mentioned explicitely
-		if ! grep -q -c '^!C' $pkgmenufile ; then
-		    echo '!C menu-1'
-		fi
+		# Force menu-1 entry in case before this was menu-2 used
+		## if ! grep -q -c '^!C' $pkgmenufile ; then
+		echo '!C menu-1'
+		## fi
 		if [ $donotchange -eq 1 ] ; then
 		    # the 2. and 3. -e - expression tries to fix missing '"' around the entries
 		    sed -e "/^[[:space:]]*$/d" \



More information about the Cdd-commits mailing list