summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2018-01-18 11:19:53 -0500
committerBrian Evans <grknight@gentoo.org>2018-01-18 11:19:53 -0500
commitdcdc33af90ded1a5609a1e3d4aa6ced36249ce90 (patch)
tree04208fcefdf8e2a82db3ff53c16ad5f46aa21846 /profiles/default
parentdev-vcs/subversion: One line per dependency (diff)
downloadgentoo-dcdc33af90ded1a5609a1e3d4aa6ced36249ce90.tar.gz
gentoo-dcdc33af90ded1a5609a1e3d4aa6ced36249ce90.tar.bz2
gentoo-dcdc33af90ded1a5609a1e3d4aa6ced36249ce90.zip
default/linux/amd64/17.1/profile.bashrc: Create a script to die when /lib is a symlink
Diffstat (limited to 'profiles/default')
-rw-r--r--profiles/default/linux/amd64/17.1/profile.bashrc7
1 files changed, 7 insertions, 0 deletions
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 000000000000..e8fc95af773d
--- /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
+