diff --git a/pkgs/clerie-update-nixfiles/clerie-update-nixfiles.sh b/pkgs/clerie-update-nixfiles/clerie-update-nixfiles.sh index 8054bc9..4ac6a98 100755 --- a/pkgs/clerie-update-nixfiles/clerie-update-nixfiles.sh +++ b/pkgs/clerie-update-nixfiles/clerie-update-nixfiles.sh @@ -69,6 +69,7 @@ echo "[!] biep" if xgit diff --quiet origin/updated-inputs "${UPDATE_BRANCH}" then echo "[!] Nothing changed, removing branch" + xgit checkout updated-inputs xgit branch -D "${UPDATE_BRANCH}" exit 0 fi