Skip to content

Commit bf35f6f

Browse files
authored
Move the .dialogrc and .dialogoptions files to the temp folder (#2276)
1 parent acaf094 commit bf35f6f

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

.gitignore

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
# Cache directory - created in .scripts/install_docker.sh and .scripts/install_yq.sh
22
/.cache
33

4-
# Dialog configuration file - created by .scripts/menu.sh for dialog interface settings
5-
/.dialogrc
6-
7-
# Dialog options file
8-
/.dialogoptions
9-
104
# Temporary folder
115
/.temp/
126

.includes/dialog_functions.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ DIALOG=$(command -v dialog) || true
88
declare -Agx DC
99

1010
declare -rgx DIALOGRC_NAME='.dialogrc'
11-
declare -rgx DIALOGRC="${SCRIPTPATH}/${DIALOGRC_NAME}"
12-
declare -rgx DIALOG_OPTIONS_FILE="${SCRIPTPATH}/.dialogoptions"
11+
declare -rgx DIALOGRC="${TEMP_FOLDER}/${DIALOGRC_NAME}"
12+
declare -rgx DIALOG_OPTIONS_FILE="${TEMP_FOLDER}/.dialogoptions"
1313

1414
declare -rigx DIALOGTIMEOUT=3
1515
declare -rigx DIALOG_OK=0

0 commit comments

Comments
 (0)