Small fix to libc/DEBIAN/postinst
debian-glibc,
I get problems install the glibc 2.3.1 package on HPPA becuase
the postinst script sets "check" to empty after the call to sed
fails. The call to sed fails because it's looking for files by
the name of "$check" ... this should be the other way around as
is indicated by the cvs diff.
Please make this change so users don't have to manually do so
during an install of glibc 2.3.1 :)
c.
Index: postinst
===================================================================
RCS file: /cvs/glibc/glibc-package/debian/libc/DEBIAN/postinst,v
retrieving revision 1.7
diff -u -p -r1.7 postinst
--- postinst 3 Nov 2002 13:01:40 -0000 1.7
+++ postinst 19 Nov 2002 03:34:13 -0000
@@ -172,7 +172,7 @@ then
check=$(dpkg -s $check | awk 'BEGIN{RS="\n\n";FS="\n"}{if (
$2 ~ /Status: .* installed$/ ) { print $1 } }' | cut -f 2 -d ' ')
# apache2 ships its init script in apache2-common, but the
# script is apache2
- check=$(sed 's/apache2-common/apache2/' $check)
+ check=$(echo $check | sed 's/apache2-common/apache2/g')
# We have to list inetd explicitly, because the package is a
# different name from it's init script
check="$check inetd"
Reply to: