From fc3db12be7db396a3d6601a2def0408ef3002660 Mon Sep 17 00:00:00 2001 From: Alexander Hess Date: Wed, 13 Sep 2023 14:11:56 +0200 Subject: [PATCH] Update the ~/repos only --- .config/shell/utils.d/update.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/shell/utils.d/update.sh b/.config/shell/utils.d/update.sh index 31c2d88..370372c 100644 --- a/.config/shell/utils.d/update.sh +++ b/.config/shell/utils.d/update.sh @@ -41,6 +41,8 @@ _remove_old_snaps() { # Update local git repositories (mostly ~/repos) _update_repositories() { + [ -d $REPOS ] || return + echo 'Updating repositories' cwd=$(pwd)