|
|
|
@ -29,7 +29,7 @@ fi
|
|
|
|
|
# Select timezone, keymap, locale
|
|
|
|
|
timezone=$(timedatectl list-timezones | gum filter --placeholder "select a timezone")
|
|
|
|
|
keymap=$(localectl list-keymaps | gum filter --placeholder "select a keymap")
|
|
|
|
|
locale=$(cat locales | gum filter --placeholder "select a locale")
|
|
|
|
|
locale=$(cat /usr/share/jade-tui/locales | gum filter --placeholder "select a locale")
|
|
|
|
|
|
|
|
|
|
# Username
|
|
|
|
|
clear
|
|
|
|
@ -148,7 +148,7 @@ if [[ $CONTINUE != "true" ]]; then
|
|
|
|
|
exit
|
|
|
|
|
else
|
|
|
|
|
# Remove config.json if it exists
|
|
|
|
|
if [[ $(ls | grep "config.json") ]]; then
|
|
|
|
|
if [[ $(ls | grep "/tmp/config.json") ]]; then
|
|
|
|
|
rm config.json
|
|
|
|
|
fi
|
|
|
|
|
# Make config.json
|
|
|
|
|