r5345 - in glibc-package/branches/eglibc-2.16/debian: . debhelper.in
Author: adconrad
Date: 2012-10-26 02:09:02 +0000 (Fri, 26 Oct 2012)
New Revision: 5345
Modified:
glibc-package/branches/eglibc-2.16/debian/changelog
glibc-package/branches/eglibc-2.16/debian/debhelper.in/libc.postinst
glibc-package/branches/eglibc-2.16/debian/debhelper.in/libc.preinst
Log:
Adjust libc.posinst and libc.preinst service restart code for 2.16.
Modified: glibc-package/branches/eglibc-2.16/debian/changelog
===================================================================
--- glibc-package/branches/eglibc-2.16/debian/changelog 2012-10-26 01:57:48 UTC (rev 5344)
+++ glibc-package/branches/eglibc-2.16/debian/changelog 2012-10-26 02:09:02 UTC (rev 5345)
@@ -360,6 +360,7 @@
* debian/rules.d/build.mk: If WITH_SYSROOT is passed to debian/rules,
then pass --with-headers=$(WITH_SYSROOT)/$(includedir) to the build.
* Sync support for armel/armhf biarch packages, but keep it disabled.
+ * Adjust libc.posinst and libc.preinst service restart code for 2.16.
-- Aurelien Jarno <aurel32@debian.org> Wed, 25 Jul 2012 23:45:58 +0200
Modified: glibc-package/branches/eglibc-2.16/debian/debhelper.in/libc.postinst
===================================================================
--- glibc-package/branches/eglibc-2.16/debian/debhelper.in/libc.postinst 2012-10-26 01:57:48 UTC (rev 5344)
+++ glibc-package/branches/eglibc-2.16/debian/debhelper.in/libc.postinst 2012-10-26 02:09:02 UTC (rev 5345)
@@ -94,7 +94,7 @@
if [ ! -d /var/mail ] && [ ! -L /var/mail ]; then
ln -sf spool/mail /var/mail
fi
- if dpkg --compare-versions "$preversion" lt 2.13; then
+ if dpkg --compare-versions "$preversion" lt 2.16; then
check="apache2.2-common apache apache-ssl apache-perl autofs at"
check="$check boa cucipop courier-authdaemon cron cups exim"
check="$check exim4-base dovecot-common cucipop incron lprng lpr"
@@ -218,7 +218,7 @@
else
echo "Nothing to restart."
fi
- fi # end upgrading and $preversion lt 2.13
+ fi # end upgrading and $preversion lt 2.16
fi # Upgrading
# Restart init. If it fails, there is nothing we can do, so
Modified: glibc-package/branches/eglibc-2.16/debian/debhelper.in/libc.preinst
===================================================================
--- glibc-package/branches/eglibc-2.16/debian/debhelper.in/libc.preinst 2012-10-26 01:57:48 UTC (rev 5344)
+++ glibc-package/branches/eglibc-2.16/debian/debhelper.in/libc.preinst 2012-10-26 02:09:02 UTC (rev 5345)
@@ -167,7 +167,7 @@
if [ -n "$preversion" ]; then
# NSS authentication trouble guard
- if dpkg --compare-versions "$preversion" lt 2.13; then
+ if dpkg --compare-versions "$preversion" lt 2.16; then
if pidof xscreensaver xlockmore >/dev/null; then
if [ -f /usr/share/debconf/confmodule ] ; then
db_version 2.0
@@ -245,7 +245,7 @@
exit 1
fi
fi
- fi # end upgrading and $preversion lt 2.13
+ fi # end upgrading and $preversion lt 2.16
fi # Upgrading
# On upgrade from older glibc versions, our PI doesn't yet exist
Reply to: