Use consistent bash5 style for conditionals and quoting

This commit is contained in:
David Heinemeier Hansson committed 2026-02-21 10:18:47 +01:00
1 parent d2acf3b6ba
commit 7514ae7dcf
113 files changed
+289 -287

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
echo "Add a default keyring for gnome-keyring that unlocks on login"
if [ -f "$HOME/.local/share/keyrings/Default_keyring.keyring" ] || [ -f "$HOME/.local/share/keyrings/default" ]; then
if [[ -f $HOME/.local/share/keyrings/Default_keyring.keyring ]] || [[ -f $HOME/.local/share/keyrings/default ]]; then
if gum confirm "Do you want to replace existing keyring with one that's auto-unlocked on login?"; then
bash "$OMARCHY_PATH/install/login/default-keyring.sh"
fi