diff options
author | Aron Griffis <agriffis@gentoo.org> | 2004-10-13 18:59:49 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2004-10-13 18:59:49 +0000 |
commit | dbd7d483499248fab2a0c8734b68f940250ad39b (patch) | |
tree | fd9d93b990568d8722094c794abb3bb2d20014cc /sys-apps | |
parent | Removed pre-release versions. Version bump to 0.9.0. Added debian patch to ... (diff) | |
download | gentoo-2-dbd7d483499248fab2a0c8734b68f940250ad39b.tar.gz gentoo-2-dbd7d483499248fab2a0c8734b68f940250ad39b.tar.bz2 gentoo-2-dbd7d483499248fab2a0c8734b68f940250ad39b.zip |
Provide warning in pkg_postinst when older /etc/init.d/net.eth* are found
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/baselayout/ChangeLog | 5 | ||||
-rw-r--r-- | sys-apps/baselayout/baselayout-1.11.2.ebuild | 15 |
2 files changed, 18 insertions, 2 deletions
diff --git a/sys-apps/baselayout/ChangeLog b/sys-apps/baselayout/ChangeLog index e7d6710c9e6b..44d68b264e3a 100644 --- a/sys-apps/baselayout/ChangeLog +++ b/sys-apps/baselayout/ChangeLog @@ -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, diff --git a/sys-apps/baselayout/baselayout-1.11.2.ebuild b/sys-apps/baselayout/baselayout-1.11.2.ebuild index 38af9e5f95e3..33a55265e2fe 100644 --- a/sys-apps/baselayout/baselayout-1.11.2.ebuild +++ b/sys-apps/baselayout/baselayout-1.11.2.ebuild @@ -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 } |