Use uxterm as x-terminal-emulator; support /etc/locale.gen.grml
authorMichael Prokop <devnull@localhost>
Mon, 15 Oct 2007 17:01:37 +0000 (19:01 +0200)
committerMichael Prokop <devnull@localhost>
Mon, 15 Oct 2007 17:01:37 +0000 (19:01 +0200)
debian/changelog
etc/grml/fai/config/scripts/GRMLBASE/25-locales
etc/grml/fai/config/scripts/GRMLBASE/90-update-alternatives

index 4ba537d..622cb5b 100644 (file)
@@ -13,6 +13,10 @@ grml-live (0.0.5) unstable; urgency=low
     This has been integrated in a new class named "RELEASE".
   * Added support for new kernel version 2.6.23-grml to
     GRML_FULL.
+  * Use uxterm as x-terminal-emulator and fall back to xterm
+    only it uxterm is not available.
+  * Support /etc/locale.gen.grml - it's used by default in
+    class GRML_FULL and a new class named LOCALES.
   * Re-enable problematic packages that have been fixed:
     - apt-listbugs (fixed via manual interaction in scripts)
     - gsm-utils (#353967)
index c774164..58f080d 100755 (executable)
@@ -4,14 +4,21 @@
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2 or any later version.
-# Latest change: Tue Sep 18 19:46:58 CEST 2007 [mika]
+# Latest change: Mon Oct 15 19:00:15 CEST 2007 [mika]
 ################################################################################
 
 set -u
 set -e
 
-# FIXME: replace it with /etc/locale.gen.grml finally!
-cp $target/etc/locale.gen.minimal $target/etc/locale.gen
+# use full locales setup only in classes GRML_FULL and LOCALES
+if ifclass GRML_FULL || ifclass LOCALES ; then
+   echo 'Using /etc/locale.gen.grml for locales generation'
+   cp $target/etc/locale.gen.grml $target/etc/locale.gen
+else
+   echo 'Using /etc/locale.gen.minimal for locales generation'
+   cp $target/etc/locale.gen.minimal $target/etc/locale.gen
+fi
+
 $ROOTCMD locale-gen
 
 ## END OF FILE #################################################################
index 977c5db..91a608f 100755 (executable)
@@ -4,7 +4,7 @@
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2 or any later version.
-# Latest change: Sat Oct 06 13:04:13 CEST 2007 [mika]
+# Latest change: Mon Oct 15 18:57:56 CEST 2007 [mika]
 ################################################################################
 
 set -u
@@ -14,7 +14,9 @@ if [ -r $target/usr/bin/vim.basic ] ; then
    $ROOTCMD update-alternatives --set editor /usr/bin/vim.basic
 fi
 
-if [ -r $target/usr/bin/xterm ] ; then
+if [ -r $target/usr/bin/uxterm ] ; then
+   $ROOTCMD update-alternatives --set x-terminal-emulator /usr/bin/uxterm
+elif [ -r $target/usr/bin/xterm ] ; then
    $ROOTCMD update-alternatives --set x-terminal-emulator /usr/bin/xterm
 fi