[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#399586: xresprobe: bashisms in the ddcprobe.sh script



Package: xresprobe
Version: 0.4.23debian1
Severity: normal
Tags: patch

Well, $SUBJ.

Index: xresprobe-0.4.23debian1/ddcprobe.sh
===================================================================
--- xresprobe-0.4.23debian1.orig/ddcprobe.sh	2006-11-20 20:47:27.730764089 +0300
+++ xresprobe-0.4.23debian1/ddcprobe.sh	2006-11-20 20:47:37.503062595 +0300
@@ -26,7 +26,7 @@
 else
   DDCPROBE="$(ddcprobe 2>/dev/null)"
 fi
-if [ "$?" == "1" ]; then
+if [ "$?" = "1" ]; then
   exit 1
 fi
 if (echo "$DDCPROBE" | egrep "(edidfail|ddcfail)" >/dev/null 2>&1); then


Best regards,
  Alexei

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17.11-grsec-p4-smp
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)

Versions of packages xresprobe depends on:
ii  libc6                        2.3.6.ds1-7 GNU C Library: Shared libraries

Versions of packages xresprobe recommends:
ii  laptop-detect                 0.12.1     attempt to detect a laptop

-- no debconf information

-- 
All science is either physics or stamp collecting.

Attachment: signature.asc
Description: Digital signature


Reply to: