From 4659863737fba40ab97387d56869a533db8b112d Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 27 Mar 2017 08:33:13 +1100 Subject: [PATCH] Scrot: Unset scrot_dir if the user has set it --- neofetch | 3 +++ 1 file changed, 3 insertions(+) diff --git a/neofetch b/neofetch index 1fd40c24..2f397053 100755 --- a/neofetch +++ b/neofetch @@ -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() {