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)