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

This commit is contained in:
Brian Evans
2018-01-18 11:19:53 -05:00
parent 0bd82150c0
commit dcdc33af90
@@ -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