summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Lipelis <aeoo@gentoo.org>2002-02-03 04:58:55 +0000
committerLeo Lipelis <aeoo@gentoo.org>2002-02-03 04:58:55 +0000
commitc837b53adccb9649830473f06bfec5c5202a6749 (patch)
tree9c01e85465c7ee9601ebfaa3324efa89ee063038 /app-admin
parentbumping micro version to signify a major upgrade (diff)
downloadgentoo-2-c837b53adccb9649830473f06bfec5c5202a6749.tar.gz
gentoo-2-c837b53adccb9649830473f06bfec5c5202a6749.tar.bz2
gentoo-2-c837b53adccb9649830473f06bfec5c5202a6749.zip
add a warning for current users of etc-update, so that they don't get
surprised by a sudden change of etc-update's behavior
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/gentoolkit/gentoolkit-0.1.1.ebuild20
1 files changed, 19 insertions, 1 deletions
diff --git a/app-admin/gentoolkit/gentoolkit-0.1.1.ebuild b/app-admin/gentoolkit/gentoolkit-0.1.1.ebuild
index ba52bdfa946f..4fcfaaf7ae1d 100644
--- a/app-admin/gentoolkit/gentoolkit-0.1.1.ebuild
+++ b/app-admin/gentoolkit/gentoolkit-0.1.1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Karl Trygve Kalleberg <karltk@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/app-admin/gentoolkit/gentoolkit-0.1.1.ebuild,v 1.1 2002/02/03 04:47:38 aeoo Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/gentoolkit/gentoolkit-0.1.1.ebuild,v 1.2 2002/02/03 04:58:55 aeoo Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Collection of unofficial administration scripts for Gentoo"
@@ -33,3 +33,21 @@ src_install () {
dodoc ${FILESDIR}/lintool/checklist-for-ebuilds
}
+
+
+pkg_postinst() {
+ #notify user about new diff/sdiff mode for etc-update being the default
+ if [ -f /usr/sbin/etc-update ]
+ then
+ echo
+ echo "!! Warning: etc-update no longer defaults to using"
+ echo "!! vim diff mode!"
+ echo "!!"
+ echo "!! Vim diff mode is still available with a quick"
+ echo "!! configuration change. If you want to use vim"
+ echo "!! diff, just edit the top of the script as"
+ echo "!! appropriate."
+ echo
+ fi
+}
+