X Strike Force XFree86 SVN commit: rev 637 - trunk/debian
Author: branden
Date: 2003-10-08 23:13:58 -0500 (Wed, 08 Oct 2003)
New Revision: 637
Modified:
trunk/debian/changelog
trunk/debian/xserver-common.config.in
Log:
Shell style cleanup: use integer (not string) comparisons on $?.
- debian/xserver-common.config.in
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2003-10-09 02:50:59 UTC (rev 636)
+++ trunk/debian/changelog 2003-10-09 04:13:58 UTC (rev 637)
@@ -29,8 +29,11 @@
(Closes: #214634)
- debian/local/Xsession.options.5
- -- Branden Robinson <branden@debian.org> Tue, 7 Oct 2003 21:36:00 -0500
+ * Shell style cleanup: use integer (not string) comparisons on $?.
+ - debian/xserver-common.config.in
+ -- Branden Robinson <branden@debian.org> Wed, 8 Oct 2003 23:12:15 -0500
+
xfree86 (4.2.1-12.1) unstable; urgency=low
* Fix typo in xlibs preinst. Closes: #213774, #213776
Modified: trunk/debian/xserver-common.config.in
===================================================================
--- trunk/debian/xserver-common.config.in 2003-10-09 02:50:59 UTC (rev 636)
+++ trunk/debian/xserver-common.config.in 2003-10-09 04:13:58 UTC (rev 637)
@@ -67,7 +67,7 @@
# (expr is noisy, always throw away its output)
set +e
expr "$1" - "$1" > /dev/null 2>&1
- if [ $? != 2 ]; then
+ if [ $? -ne 2 ]; then
# now check for valid range
if expr "$1" ">=" "-20" > /dev/null 2>&1 &&
expr "$1" "<=" "19" > /dev/null 2>&1; then
@@ -155,7 +155,7 @@
while :; do
safe_debconf db_input low xserver-common/xwrapper/nice_value
# is the question going to be asked?
- if [ $? = 30 ]; then
+ if [ $? -eq 30 ]; then
break # no; bail out of validation loop
fi
safe_debconf db_go
Reply to: