From a5dc2c4408011d65480a23b94315ced4db56575a Mon Sep 17 00:00:00 2001 From: aclist Date: Sat, 8 Oct 2022 12:25:46 +0900 Subject: [PATCH] Force creation of helpers dir --- dzgui.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dzgui.sh b/dzgui.sh index dc45475..4166350 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -896,7 +896,7 @@ options_menu(){ "Toggle debug mode" "Generate debug log" "Toggle auto-mod install (experimental)" - "Set auto-mod staging directory" + "Set auto-mod staging directory [$staging_dir]" ) debug_sel=$(zenity --list --width=1280 --height=800 --column="Options" --title="DZGUI" --hide-header "${debug_list[@]}" 2>/dev/null) if [[ $debug_sel == "${debug_list[0]}" ]]; then @@ -1534,6 +1534,7 @@ lock(){ fi } fetch_scmd_helper(){ + mkdir -p "$helpers_path" curl -Ls "$scmd_url" > "$helpers_path/scmd.sh" chmod +x "$helpers_path/scmd.sh" [[ ! -f "$helpers_path/d.html" ]] && curl -Ls "$notify_url" > "$helpers_path/d.html"