diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2011-04-20 18:58:05 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2011-04-20 18:58:05 +0000 |
commit | a95b420922e74bb728e482c22f9e6acd076ab696 (patch) | |
tree | bd3bb10aba94a5eaea6dff20d58e9bb7ef06cfbd /gnustep-base/gnustep-make | |
parent | Fixed undefined reference on v4l_desc, bug #363603 thank Fred Röhner for rep... (diff) | |
download | gentoo-2-a95b420922e74bb728e482c22f9e6acd076ab696.tar.gz gentoo-2-a95b420922e74bb728e482c22f9e6acd076ab696.tar.bz2 gentoo-2-a95b420922e74bb728e482c22f9e6acd076ab696.zip |
Add postinst warning message if old layout is detected
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
Diffstat (limited to 'gnustep-base/gnustep-make')
-rw-r--r-- | gnustep-base/gnustep-make/ChangeLog | 6 | ||||
-rw-r--r-- | gnustep-base/gnustep-make/gnustep-make-2.6.0.ebuild | 12 |
2 files changed, 16 insertions, 2 deletions
diff --git a/gnustep-base/gnustep-make/ChangeLog b/gnustep-base/gnustep-make/ChangeLog index 0f8bc282f290..927b3b294c28 100644 --- a/gnustep-base/gnustep-make/ChangeLog +++ b/gnustep-base/gnustep-make/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for gnustep-base/gnustep-make # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/ChangeLog,v 1.96 2011/04/20 17:42:10 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/ChangeLog,v 1.97 2011/04/20 18:58:05 voyageur Exp $ + + 20 Apr 2011; Bernard Cafarelli <voyageur@gentoo.org> + gnustep-make-2.6.0.ebuild: + Add postinst warning message if old layout is detected *gnustep-make-2.6.0 (20 Apr 2011) diff --git a/gnustep-base/gnustep-make/gnustep-make-2.6.0.ebuild b/gnustep-base/gnustep-make/gnustep-make-2.6.0.ebuild index c17bec05c31f..db8659b544d5 100644 --- a/gnustep-base/gnustep-make/gnustep-make-2.6.0.ebuild +++ b/gnustep-base/gnustep-make/gnustep-make-2.6.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/gnustep-make-2.6.0.ebuild,v 1.1 2011/04/20 17:42:10 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/gnustep-make-2.6.0.ebuild,v 1.2 2011/04/20 18:58:05 voyageur Exp $ EAPI="3" @@ -71,3 +71,13 @@ src_install() { doexe "${T}"/gnustep-4.sh doexe "${T}"/gnustep-4.csh } + +pkg_postinst() { + # Warn about new layout if old GNUstep directory is still here + if [ -e /usr/GNUstep/System ]; then + ewarn "Old layout directory detected (/usr/GNUstep/System)" + ewarn "Gentoo has switched to FHS layout for GNUstep packages" + ewarn "Please remerge all packages still installed with the old layout" + ewarn "You can use gnustep-base/gnustep-updater for this task" + fi +} |