Skip to content

Commit 440d7c8

Browse files
authored
Merge pull request #3884 from Gemba/fix_remove_dialog_prompt_for_headless_op
Replace dialog with info message for headless operation
2 parents 460f018 + 92a5926 commit 440d7c8

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

scriptmodules/supplementary/skyscraper.sh

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -77,18 +77,7 @@ function _config_files_skyscraper() {
7777
}
7878

7979
function remove_skyscraper() {
80-
local ret
81-
local msg
82-
83-
# Prompt for cache clearing
84-
msg="\nRemove also Skyscraper's cache data for all platforms:"
85-
msg+="\nvideos, screenshots, descriptions, ... ?"
86-
msg+="\n\nThis will only remove files in ~/.skyscraper/cache/."
87-
msg+="\n\nIf unsure select 'No'."
88-
dialog --clear --colors --defaultno --title "Remove Skyscraper" --yesno "$msg" 12 60 2>&1 >/dev/tty
89-
ret=$?
90-
91-
[[ $ret -eq 0 ]] && _purge_skyscraper
80+
md_ret_info+=("Skyscraper's cache in ~/.skyscraper/cache/ is not empty and is not removed.")
9281

9382
# Remove possible per-user deployment introduced with v3.9.3
9483
rm -f "$home/.bash_completion.d/Skyscraper.bash"

0 commit comments

Comments
 (0)