r1008 - in glibc-package/trunk/debian: . debhelper.in
Author: gotom
Date: 2005-08-19 09:42:56 +0000 (Fri, 19 Aug 2005)
New Revision: 1008
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/debhelper.in/libc.postinst
Log:
- debian/debhelper.in/libc.postinst: Fix to invoke NSS check again.
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2005-08-19 09:39:48 UTC (rev 1007)
+++ glibc-package/trunk/debian/changelog 2005-08-19 09:42:56 UTC (rev 1008)
@@ -20,6 +20,7 @@
(Closes: #321561, #321712, #321796, #322768, #323560)
- debian/debhelper.in/libc.preinst: Change guard to 2.3.5-1.
- debian/debhelper.in/libc.postinst: Likewise.
+ - debian/debhelper.in/libc.postinst: Fix to invoke NSS check again.
* debian/debhelper.in/nscd.dirs: Add /var/db/nscd.
(Closes: #323352, #323487)
Modified: glibc-package/trunk/debian/debhelper.in/libc.postinst
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc.postinst 2005-08-19 09:39:48 UTC (rev 1007)
+++ glibc-package/trunk/debian/debhelper.in/libc.postinst 2005-08-19 09:42:56 UTC (rev 1008)
@@ -2,6 +2,9 @@
set -e
export LC_ALL=C
+type=$1
+preversion=$2
+
package_name()
{
echo LIBC
@@ -168,7 +171,7 @@
fi
done
-if [ "$1" = "configure" ]
+if [ "$type" = "configure" ]
then
# Handle upgrades for libdb.so.3. We do this before calling ldconfig,
# since it will create a symlink for us. Just move everything over. We
@@ -254,11 +257,11 @@
fi
fi
- if [ ! -z $2 ]; then
+ if [ ! -z $preversion ]; then
if [ ! -d /var/mail ] && [ ! -L /var/mail ]; then
ln -sf spool/mail /var/mail
fi
- if dpkg --compare-versions $2 lt 2.3.5-1; then
+ if dpkg --compare-versions $preversion lt 2.3.5-1; then
echo -n "Checking for services that may need to be restarted..."
check="nis smail sendmail exim ssh netbase"
@@ -369,7 +372,7 @@
echo
fi
fi
- fi # end upgrading and $2 lt 2.1.95-1
+ fi # end upgrading and $preversion lt 2.3.5-1
fi # Upgrading
if [ -f /etc/timezone.save ]; then
mv -fb /etc/timezone.save /etc/timezone
Reply to: