The cross-install script I downloaded tonight from
master.debian.org didn't work due to a missing semicolon.

--- cross-install~      Sun May 30 01:42:21 1999
+++ cross-install       Sun May 30 05:33:56 1999
@@ -116,7 +116,7 @@
                 echo your mind. Thank you.
                exit 0
        fi
-       if [ x$x = xy ] then
+       if [ x$x = xy ] ; then
                echo
                echo Setting up link from usr to root directory to comply with 
Hurd philosophy.
                rm -f ${dest}/usr

dpkg-hurd hit an error when I tried to install dpkg-awk_0.7.2.deb
with it, because the description of that package contains the
string "Package:".

--- dpkg-hurd~  Sun May 30 01:42:13 1999
+++ dpkg-hurd   Sun May 30 05:58:48 1999
@@ -66,7 +66,7 @@
 
        action="${1}"
        file="${2}"
-       name=`dpkg --info ${file} | grep Package: - | sed -e "s/ Package: //"`
+       name=`dpkg --info ${file} | grep '^ Package:' - | sed -e "s/ Package: 
//"`
 
        [ -f ${file} ] || err "file \`${file}' does not exist"
 

Reply via email to