[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lower priority for grub-installer/only_debian ?



I would recommend that when no other OS is found, GRUB confirmation isn't
displayed unless in expert mode.  That is, to lower priority for
grub-installer/only_debian (see attached patch).

Any comments?

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)
Index: packages/arch/i386/grub-installer/grub-installer
===================================================================
--- packages/arch/i386/grub-installer/grub-installer	(revision 49227)
+++ packages/arch/i386/grub-installer/grub-installer	(working copy)
@@ -444,11 +444,13 @@
 		state=2
 	else
 		q=grub-installer/with_other_os
+		p=high
 		db_subst $q OS_LIST "$supported_os_list"
 		state=1
 	fi
 else
 	q=grub-installer/only_debian
+	p=medium
 	state=1
 fi
 
@@ -457,6 +459,7 @@
 	   [ $frgrubroot -gt 0 ] && [ -e $ROOT$frdev$frbootpart ]; then
 	   	db_subst grub-installer/sataraid GRUBROOT $ROOT$frdev$frbootpart
 		q=grub-installer/sataraid
+		p=high
 	else
 		db_input grub-installer/sataraid-error
 		db_go || true
@@ -469,7 +472,7 @@
 
 while : ; do
 	if [ "$state" = 1 ]; then
-		db_input high $q || true
+		db_input $p $q || true
 		if ! db_go; then
 			# back up to menu
 			db_progress STOP

Reply to: