Provide warning in pkg_postinst when older /etc/init.d/net.eth* are found
authorAron Griffis <agriffis@gentoo.org>
Wed, 13 Oct 2004 18:59:49 +0000 (18:59 +0000)
committerAron Griffis <agriffis@gentoo.org>
Wed, 13 Oct 2004 18:59:49 +0000 (18:59 +0000)
sys-apps/baselayout/ChangeLog
sys-apps/baselayout/Manifest
sys-apps/baselayout/baselayout-1.11.2.ebuild

index e7d6710c9e6b357f0e771cb6834ae0b48f413802..44d68b264e3a0be552067d7934b4f83cde31c717 100644 (file)
@@ -1,10 +1,13 @@
 # ChangeLog for sys-apps/baselayout
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/ChangeLog,v 1.175 2004/10/13 18:24:15 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/ChangeLog,v 1.176 2004/10/13 18:59:49 agriffis Exp $
 
 # See the gentoo-src rc-scripts ChangeLog for up-to-date release information:
 # http://www.gentoo.org/cgi-bin/viewcvs.cgi/rc-scripts/ChangeLog?rev=HEAD&cvsroot=gentoo-src&content-type=text/vnd.viewcvs-markup
 
+  13 Oct 2004; Aron Griffis <agriffis@gentoo.org> baselayout-1.11.2.ebuild:
+  Provide warning in pkg_postinst when older /etc/init.d/net.eth* are found
+
 *baselayout-1.11.2 (13 Oct 2004)
 
   13 Oct 2004; Aron Griffis <agriffis@gentoo.org> -baselayout-1.11.1.ebuild,
index a1d4b1c6635dc501f21bc59e4febe2796fa2e8ce..0990480e5c07828f281512b66674f868885f372c 100644 (file)
@@ -1,10 +1,10 @@
 MD5 428bfcde4eedd130836f6f796f105211 baselayout-1.10.3.ebuild 15557
 MD5 0290b2f759547f9abaf4e118331bdbf3 baselayout-1.9.4-r3.ebuild 17770
-MD5 781c9e58f7549de33bf099463f1c64ad ChangeLog 39881
+MD5 ab264690250690b5ed2fa674256a5975 ChangeLog 40034
 MD5 e02bb32cac91dad28d3c05b731b37b04 metadata.xml 385
 MD5 abccbd0a4dce1e37a26e490597a9fcc6 baselayout-1.10.4.ebuild 15557
 MD5 b4e1da008c01a399d29352fecb50c138 baselayout-1.9.4-r4.ebuild 16555
-MD5 bb1ac02825b9ffd94b6c746f715de23f baselayout-1.11.2.ebuild 15965
+MD5 be0284151450a0008f2587080ca08c79 baselayout-1.11.2.ebuild 16384
 MD5 dd7fbce62822fed1595f11078e23aa32 files/baselayout-1.8.6.13-r1-gcc2.patch 443
 MD5 d50ca91cbb58c7528a60ddf5bb172956 files/sysvinit-2.84-selinux.patch 3206
 MD5 ab3b5bbd5ce8a8b1386c834ff4a118b4 files/digest-baselayout-1.10.3 69
index 38af9e5f95e3e516c6de1fad2d694ea5e6fe1a8f..33a55265e2fe269d00da4e4ec2425cfaa8ab9b4d 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.11.2.ebuild,v 1.1 2004/10/13 18:24:16 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.11.2.ebuild,v 1.2 2004/10/13 18:59:49 agriffis Exp $
 
 inherit flag-o-matic eutils
 
@@ -522,4 +522,17 @@ pkg_postinst() {
        einfo
        einfo "  # etc-update"
        echo
+
+       for f in /etc/init.d/net.eth*; do
+               [[ -L ${f} ]] && continue
+               echo
+               einfo "WARNING: You have older net.eth* files in ${ROOT}/etc/init.d/"
+               einfo "They need to be converted to symlinks to net.lo.  If you haven't"
+               einfo "made personal changes to those files, you can update with the"
+               einfo "following command:"
+               einfo
+               einfo "  # /bin/ls /etc/init.d/net.eth* | xargs -n1 ln -sfvn net.lo"
+               echo
+               break
+       done
 }