[Demudi-commits] r664 - bootsplash/trunk/debian

Free Ekanayaka free-guest at costa.debian.org
Tue Feb 7 10:44:42 UTC 2006


Author: free-guest
Date: 2006-02-07 10:44:28 +0000 (Tue, 07 Feb 2006)
New Revision: 664

Modified:
   bootsplash/trunk/debian/bootsplash.config
   bootsplash/trunk/debian/changelog
Log:
* Properly handle non-interactive installs
* Use the first kernel listed in /boot as default

Modified: bootsplash/trunk/debian/bootsplash.config
===================================================================
--- bootsplash/trunk/debian/bootsplash.config	2006-02-06 23:55:30 UTC (rev 663)
+++ bootsplash/trunk/debian/bootsplash.config	2006-02-07 10:44:28 UTC (rev 664)
@@ -30,13 +30,21 @@
 db_input medium shared/bootsplash-theme || true
 db_go
 
+# set first choice as default
+NEW_DEFAULT="$(echo $OWNERS|cut -f 1 -d ,)"
+
 # get the new default theme
 db_get shared/bootsplash-theme
 NEW_DEFAULT="$RET"
+if [ -n $RET ]; then
+	NEW_DEFAULT=$RET
+else
+	db_set shared/bootsplash $NEW_DEFAULT
+fi
 
 # locate initrd images and add none and custom to the list
 
-db_subst shared/bootsplash-initrd initrd-list `echo custom none /boot/initrd* | sed -e 's/ /, /g;'`
+db_subst shared/bootsplash-initrd initrd-list `echo /boot/initrd* custom none | sed -e 's/ /, /g;'`
 db_input medium shared/bootsplash-initrd || true
 db_go
 

Modified: bootsplash/trunk/debian/changelog
===================================================================
--- bootsplash/trunk/debian/changelog	2006-02-06 23:55:30 UTC (rev 663)
+++ bootsplash/trunk/debian/changelog	2006-02-07 10:44:28 UTC (rev 664)
@@ -10,6 +10,8 @@
   * Removed empty bootsplash.7 manpage
   * Added missing commands to the init.d script
   * Added watch file
+  * Properly handle non-interactive installs
+  * Use the first kernel listed in /boot as default
 
  -- Free Ekanayaka <free at agnula.org>  Mon,  6 Feb 2006 05:27:50 -0500
 




More information about the Demudi-commits mailing list