Depricated wording

If the script exits on deprecated config-entries it should explicitly tell the user, that they have to remove the option.
This commit is contained in:
Felix 2017-10-25 23:25:33 +02:00 committed by GitHub
commit 8312d83dd9

View file

@ -200,7 +200,7 @@ if [ "${CRON}" = "yes" ]; then
fi fi
if [ "${KEEP}" = "yes" ]; then if [ "${KEEP}" = "yes" ]; then
error "KEEP is deprecated and should be removed from config file" error "KEEP is deprecated and must be removed from config file"
exit 255 exit 255
fi fi
@ -210,7 +210,7 @@ if [ "${FORCEALL}" = "yes" ]; then
fi fi
if [ ! -z "${RELEASE}" ]; then if [ ! -z "${RELEASE}" ]; then
error "RELEASE keyword is deprecated and should be removed from config file" error "RELEASE keyword is deprecated and must be removed from config file"
error "Use DISTRO and BUILD instead to manually select what to install (check README.md)" error "Use DISTRO and BUILD instead to manually select what to install (check README.md)"
exit 255 exit 255
fi fi