Update misc.sh

This commit is contained in:
2025-04-14 16:40:10 -04:00
parent 7e55703066
commit be91e5e9d2

View File

@@ -77,6 +77,10 @@ update_git_repo() {
return
fi
if [ ! -d "$path/.git" ]; then
return # Assume the user doesn't want to use git grab packages automatically.
fi
git -C "$path" fetch
local latest_commit_hash=$(git -C "$path" rev-parse '@{u}')
local last_built_hash=""