From 50fdc150b85354dec2f041b625913b3d375f63f7 Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Mon, 7 Feb 2022 19:31:23 +0100 Subject: [PATCH] install: check if local config is readable (not just exists) --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index e19b054..a0af129 100755 --- a/install.sh +++ b/install.sh @@ -4,7 +4,7 @@ set -e DOTFILES="$(dirname "$(realpath "$0")")" TARGET="$HOME" -[ -f "$DOTFILES/config.local" ] && . "$DOTFILES/config.local" +[ -r "$DOTFILES/config.local" ] && . "$DOTFILES/config.local" GIT_USER="${GIT_USER:-Fernando Schauenburg}" GIT_EMAIL="${GIT_EMAIL:-fernando@schauenburg.me}"