Don't error if the file doesn't exist
This commit is contained in:
parent
02a91023cb
commit
51af298b2a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue