From d8787dc96653c1c726588c89f060d6870525140a Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 15 Oct 2007 19:01:37 +0200 Subject: [PATCH] Use uxterm as x-terminal-emulator; support /etc/locale.gen.grml --- debian/changelog | 4 ++++ etc/grml/fai/config/scripts/GRMLBASE/25-locales | 13 ++++++++++--- etc/grml/fai/config/scripts/GRMLBASE/90-update-alternatives | 6 ++++-- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index 4ba537d..622cb5b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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) diff --git a/etc/grml/fai/config/scripts/GRMLBASE/25-locales b/etc/grml/fai/config/scripts/GRMLBASE/25-locales index c774164..58f080d 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/25-locales +++ b/etc/grml/fai/config/scripts/GRMLBASE/25-locales @@ -4,14 +4,21 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # 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 ################################################################# diff --git a/etc/grml/fai/config/scripts/GRMLBASE/90-update-alternatives b/etc/grml/fai/config/scripts/GRMLBASE/90-update-alternatives index 977c5db..91a608f 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/90-update-alternatives +++ b/etc/grml/fai/config/scripts/GRMLBASE/90-update-alternatives @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # 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 -- 2.1.4