[Debian-hebrew-package] r737 - /pkg/user-he/trunk/scripts/hebrew-settings

kzamir-guest at users.alioth.debian.org kzamir-guest at users.alioth.debian.org
Tue Feb 12 07:35:50 UTC 2008


Author: kzamir-guest
Date: Tue Feb 12 07:35:49 2008
New Revision: 737

URL: http://svn.debian.org/wsvn/debian-hebrew/?sc=1&rev=737
Log:
Bug#465375: user-he: bashism in /bin/sh script

Modified:
    pkg/user-he/trunk/scripts/hebrew-settings

Modified: pkg/user-he/trunk/scripts/hebrew-settings
URL: http://svn.debian.org/wsvn/debian-hebrew/pkg/user-he/trunk/scripts/hebrew-settings?rev=737&op=diff
==============================================================================
--- pkg/user-he/trunk/scripts/hebrew-settings (original)
+++ pkg/user-he/trunk/scripts/hebrew-settings Tue Feb 12 07:35:49 2008
@@ -43,7 +43,7 @@
 # reconfigure time zone
 echo "Reconfigure the systems time zone..."
 if [ -f /usr/share/zoneinfo/Asia/Jerusalem ]; then
-	if [[ $timezone == 1 ]]; then
+	if [ "$timezone" = "1" ]; then
 		debconf-set-selections << __END__
 		# timezone config preseed
 		tzdata tzdata/Areas Asia
@@ -62,7 +62,7 @@
 # reconfigure locales
 echo "Reconfigure the locales package..."
 if [ -e /var/lib/dpkg/info/locales.postinst ]; then
-	if [[ $enabled == 0 ]]; then
+	if [ "$enabled" = "0" ]; then
 		debconf-set-selections << __END__
 
 		# locales preseed




More information about the Debian-hebrew-package mailing list