From e75062dcf16a3f1d65063fb49786ba1fd79bcf56 Mon Sep 17 00:00:00 2001 From: Alexander Hess Date: Sat, 13 Jan 2024 13:26:53 +0100 Subject: [PATCH] Verify pass' data folder exists --- .config/shell/utils.d/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/shell/utils.d/update.sh b/.config/shell/utils.d/update.sh index e320562..cae7bae 100644 --- a/.config/shell/utils.d/update.sh +++ b/.config/shell/utils.d/update.sh @@ -59,7 +59,7 @@ _update_repositories() { ZSH_DOTENV_FILE='.env' - _command_exists pass && echo "Fetching $XDG_DATA_HOME/pass" && pass git pull + _command_exists pass && [ -d "$XDG_DATA_HOME/pass" ] && echo "Fetching $XDG_DATA_HOME/pass" && pass git pull _update_dotfiles cd $cwd