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:
Dan Johansen 2020-06-18 21:40:50 +02:00
parent b6b6bd4b5c
commit bd1685d7cf
No known key found for this signature in database
GPG Key ID: 084A7FC0035B1D49
1 changed files with 3 additions and 0 deletions

View File

@ -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=""