From 51af298b2a13931d6edfe9846f4ca6f080df09e2 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Sun, 21 Feb 2021 15:10:47 +0000 Subject: [PATCH] Don't error if the file doesn't exist --- roles/home-cli/files/bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/home-cli/files/bashrc b/roles/home-cli/files/bashrc index c191e96..9b395fd 100644 --- a/roles/home-cli/files/bashrc +++ b/roles/home-cli/files/bashrc @@ -74,7 +74,7 @@ _acp_set_locale () { LC_MONETARY="$LANG" # Currency display. LC_PAPER="$LANG" # Standard paper size -- A4 or Letter (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" _acp_locale_selected=1 ;;