commit:     dcdc33af90ded1a5609a1e3d4aa6ced36249ce90
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 18 16:19:53 2018 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Thu Jan 18 16:19:53 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcdc33af

default/linux/amd64/17.1/profile.bashrc: Create a script to die when /lib is a 
symlink

 profiles/default/linux/amd64/17.1/profile.bashrc | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/profiles/default/linux/amd64/17.1/profile.bashrc 
b/profiles/default/linux/amd64/17.1/profile.bashrc
new file mode 100644
index 00000000000..e8fc95af773
--- /dev/null
+++ b/profiles/default/linux/amd64/17.1/profile.bashrc
@@ -0,0 +1,7 @@
+if [[ -L ${ROOT%/}/lib || -L ${ROOT%/}/usr/lib ]] ; then
+       eerror "Please follow the instructions in the news item:"
+       eerror "2017-12-26-experimental-amd64-17-1-profiles"
+       eerror "or choose the 17.0 profile."
+       die "ERROR: 17.1 migration has not been performed!!"
+fi
+

Reply via email to