if [ "$f1" ] ;... is NOT valid shell syntax. Nor is [ ... -a "$f2" ].
You're missing a "-n" in front of all bare string tests inside [ ].
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.4-debian1+libata+bluesmoke+imq+lm85
Locale: LANG=pt_BR.ISO-8859-1, LC_CTYPE=pt_BR.ISO-8859-1 (charmap=ISO-8859-1)
Versions of packages sysfsutils depends on:
ii libc6 2.3.5-8.1 GNU C Library: Shared libraries an
ii libsysfs1 1.3.0-3 interface library to sysfs
sysfsutils recommends no packages.
-- no debconf information
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
Message-ID: <email address hidden>
Date: Mon, 28 Nov 2005 00:22:57 -0200
From: Henrique de Moraes Holschuh <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: initscript: completely broken
Package: sysfsutils
Version: 1.3.0-3
Severity: grave
Justification: renders package unusable
if [ "$f1" ] ;... is NOT valid shell syntax. Nor is [ ... -a "$f2" ].
You're missing a "-n" in front of all bare string tests inside [ ].
-- System Information: 4-debian1+ libata+ bluesmoke+ imq+lm85 BR.ISO- 8859-1, LC_CTYPE= pt_BR.ISO- 8859-1 (charmap= ISO-8859- 1)
Debian Release: testing/unstable
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.
Locale: LANG=pt_
Versions of packages sysfsutils depends on:
ii libc6 2.3.5-8.1 GNU C Library: Shared libraries an
ii libsysfs1 1.3.0-3 interface library to sysfs
sysfsutils recommends no packages.
-- no debconf information
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh