default/linux/amd64/17.1/profile.bashrc: Create a script to die when /lib is a symlink
authorBrian Evans <grknight@gentoo.org>
Thu, 18 Jan 2018 16:19:53 +0000 (11:19 -0500)
committerBrian Evans <grknight@gentoo.org>
Thu, 18 Jan 2018 16:19:53 +0000 (11:19 -0500)
profiles/default/linux/amd64/17.1/profile.bashrc [new file with mode: 0644]

diff --git a/profiles/default/linux/amd64/17.1/profile.bashrc b/profiles/default/linux/amd64/17.1/profile.bashrc
new file mode 100644 (file)
index 0000000..e8fc95a
--- /dev/null
@@ -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
+