Don't error if the file doesn't exist

This commit is contained in:
Anthony Rose 2021-02-21 15:10:47 +00:00
parent 02a91023cb
commit 51af298b2a

View file

@ -74,7 +74,7 @@ _acp_set_locale () {
LC_MONETARY="$LANG" # Currency display. LC_MONETARY="$LANG" # Currency display.
LC_PAPER="$LANG" # Standard paper size -- A4 or Letter (GNU). LC_PAPER="$LANG" # Standard paper size -- A4 or Letter (GNU).
LC_TELEPHONE="$LANG" # Formats for telephone services (GNU). LC_TELEPHONE="$LANG" # Formats for telephone services (GNU).
rm "$HOME/.config/locale.conf" rm -f "$HOME/.config/locale.conf"
locale > "$HOME/.config/locale.conf" locale > "$HOME/.config/locale.conf"
_acp_locale_selected=1 _acp_locale_selected=1
;; ;;