look for dialogrc in two places. use the one from same folder if it exists, else use the one in /etc
This commit is contained in:
parent
b6b6bd4b5c
commit
bd1685d7cf
|
|
@ -11,7 +11,10 @@ CARCH=$(uname -m)
|
|||
NSPAWN='systemd-nspawn -q --resolv-conf=copy-host --timezone=off -D'
|
||||
|
||||
# set colorscheme
|
||||
if [[ -f "./dialogrc_gui" ]]; then
|
||||
export DIALOGRC="./dialogrc_gui"
|
||||
else
|
||||
export DIALOGRC="/etc/manjaro-arm-installer/dialogrc_gui"
|
||||
|
||||
# clearing variables
|
||||
DEVICE=""
|
||||
|
|
|
|||
Loading…
Reference in New Issue