Old Options: Fix birthday_time not working

This commit is contained in:
Dylan Araps 2017-01-24 10:11:35 +11:00
parent 13cfef01da
commit 0a70754ef1
1 changed files with 3 additions and 0 deletions

View File

@ -3504,6 +3504,9 @@ old_options() {
# Fahrenheit support was added to CPU so the options were changed.
[[ "$cpu_temp" == "on" ]] && { err "Config: cpu_temp='on' is deprecated, use cpu_temp='C' or 'F' instead."; cpu_temp="C"; }
# Birthday was renamed to Install Date in 3.0
[[ -n "$birthday_time" ]] && { err "Config: \$birthday_time is deprecated, use \3install_time instead."; install_time="$birthday_time"; }
}
cache_uname() {