Gen 385: removed diff check from nixcommit.sh

This commit is contained in:
pagedMov
2024-10-11 21:20:38 -04:00
parent c969646804
commit 3771dff0e5

View File

@@ -7,12 +7,6 @@ nix flake update
gen=$(readlink /nix/var/nix/profiles/system | sed 's/.*system-\([0-9]*\)-link/\1/')
gen=$((gen + 1))
git diff --quiet
if [ $? -eq 0 ]; then
scheck && runbg aplay ~/media/sound/sys/warning.wav
echo "Nothing to commit"
exit
fi
git add .
git commit -m "Gen $gen: $@"
git push