Scrot: Unset scrot_dir if the user has set it

This commit is contained in:
Dylan Araps 2017-03-27 08:33:13 +11:00
parent d34f01f21b
commit 4659863737
1 changed files with 3 additions and 0 deletions

View File

@ -3651,6 +3651,9 @@ old_options() {
# 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"; }
# Scrot dir was removed in 3.1.0.
[[ -n "$scrot_dir" ]] && scrot_dir=
}
cache_uname() {