[arch-commits] Commit in glibc/trunk (glibc.install)
Allan McRae
allan at archlinux.org
Thu Apr 30 07:03:10 UTC 2009
Date: Thursday, April 30, 2009 @ 03:03:10
Author: allan
Revision: 37057
test for init before usage in post_upgrade - useful for chroots without sysvinit (FS#14496)
Modified:
glibc/trunk/glibc.install
---------------+
glibc.install | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Modified: glibc.install
===================================================================
--- glibc.install 2009-04-30 06:41:36 UTC (rev 37056)
+++ glibc.install 2009-04-30 07:03:10 UTC (rev 37057)
@@ -37,7 +37,7 @@
post_upgrade() {
ldconfig -r .
- init u
+ [ -x /sbin/init ] && init u
if [ "`vercmp $2 2.3.6`" -lt 0 ]; then
cat << _EOF
More information about the arch-commits
mailing list