[Pkg-openssl-changes] r132 - openssl/trunk/debian
Kurt Roeckx
kroeckx at costa.debian.org
Mon May 1 12:27:28 UTC 2006
Author: kroeckx
Date: 2006-05-01 12:27:27 +0000 (Mon, 01 May 2006)
New Revision: 132
Modified:
openssl/trunk/debian/changelog
openssl/trunk/debian/libssl0.9.8.postinst
Log:
The check to see if something was installed wasn't working.
Modified: openssl/trunk/debian/changelog
===================================================================
--- openssl/trunk/debian/changelog 2006-05-01 12:21:56 UTC (rev 131)
+++ openssl/trunk/debian/changelog 2006-05-01 12:27:27 UTC (rev 132)
@@ -14,6 +14,8 @@
- Split postgresql in postgresql-7.4 postgresql-8.0 postgresql-8.1
- Add: dovecot-common bind9 ntp-refclock ntp-simple openntpd clamcour
fetchmail ftpd-ssl proftpd proftpd-ldap proftpd-mysql proftpd-pgsql
+ * libssl0.9.8.postinst: The check to see if something was installed
+ wasn't working.
-- Kurt Roeckx <kurt at roeckx.be> Thu, 6 Apr 2006 20:34:07 +0200
Modified: openssl/trunk/debian/libssl0.9.8.postinst
===================================================================
--- openssl/trunk/debian/libssl0.9.8.postinst 2006-05-01 12:21:56 UTC (rev 131)
+++ openssl/trunk/debian/libssl0.9.8.postinst 2006-05-01 12:27:27 UTC (rev 132)
@@ -72,7 +72,7 @@
check="$check fetchmail ftpd-ssl"
check="$check proftpd proftpd-ldap proftpd-mysql proftpd-pgsql"
# Only get the ones that are installed, and configured
- check=$(dpkg -s $check 2> /dev/null | sed '/^$/{N;/^\n$/D;}' | awk 'BEGIN{RS="\n\n";FS="\n"}{if ( $2 ~ /Status: .* installed$/ ) { print $1 } }' | cut -f 2 -d ' ')
+ check=$(dpkg -s $check 2> /dev/null | egrep '^Package:|^Status:' | awk '{if ($1 ~ /^Package:/) { package=$2 } else if ($0 ~ /^Status: .* installed$/) { print package }}')
# apache2 ships its init script in apache2-common, but the
# script is apache2
check=$(echo $check | sed 's/apache2-common/apache2/g')
More information about the Pkg-openssl-changes
mailing list