[Debian-hebrew-package] [svn] r129 - pkg/debian-hebrew/trunk/scripts
Yaacov Zamir
kzamir-guest at costa.debian.org
Tue Aug 2 12:32:30 UTC 2005
Author: kzamir-guest
Date: Tue Aug 2 12:32:23 2005
New Revision: 129
Modified:
pkg/debian-hebrew/trunk/scripts/hebrew-settings
Log:
add --enabled flag to hebrew-sttings script
Modified: pkg/debian-hebrew/trunk/scripts/hebrew-settings
==============================================================================
--- pkg/debian-hebrew/trunk/scripts/hebrew-settings (original)
+++ pkg/debian-hebrew/trunk/scripts/hebrew-settings Tue Aug 2 12:32:23 2005
@@ -30,13 +30,23 @@
# reconfigure locales
echo "Reconfigure the locales package..."
if [ -e /var/lib/dpkg/info/locales.postinst ]; then
- debconf-set-selections << __END__
+ if [ "x$1" == "x--enabled" ]; then
+ debconf-set-selections << __END__
+
+ # locales preseed
+ locales locales/default_environment_locale string en_US.UTF-8
+ locales locales/locales_to_be_generated multiselect he_IL.UTF-8 UTF-8,en_US.UTF-8 UTF-8, ru_RU.UTF-8 UTF-8, fr_FR.UTF-8 UTF-8, es_MX.UTF-8 UTF-8, ar_JO.UTF-8 UTF-8
+
+__END__
+ else
+ debconf-set-selections << __END__
- # locales preseed
- locales locales/default_environment_locale string he_IL.UTF-8
- locales locales/locales_to_be_generated multiselect he_IL.UTF-8 UTF-8,en_US.UTF-8 UTF-8, ru_RU.UTF-8 UTF-8, fr_FR.UTF-8 UTF-8, es_MX.UTF-8 UTF-8, ar_JO.UTF-8 UTF-8
+ # locales preseed
+ locales locales/default_environment_locale string he_IL.UTF-8
+ locales locales/locales_to_be_generated multiselect he_IL.UTF-8 UTF-8,en_US.UTF-8 UTF-8, ru_RU.UTF-8 UTF-8, fr_FR.UTF-8 UTF-8, es_MX.UTF-8 UTF-8, ar_JO.UTF-8 UTF-8
__END__
+ fi
# FIXME: for some reason the postinst scripts work better from this dir,
# this is why I copy and delete them :(.
More information about the Debian-hebrew-package
mailing list