build auto-update

This commit is contained in:
Zelo72 2022-01-29 15:53:07 +01:00
parent 7bb495b3bf
commit 2c4d10d53c
2 changed files with 422 additions and 332 deletions

File diff suppressed because it is too large Load Diff

View File

@ -647,6 +647,10 @@ echo ""
echo "* No changes to the previous repo version detected! *"
echo "*****************************************************"
echo ""
# Cleanup build out dir ...
if inConfig "localpush"; then
rm -f "$domains" "$hosts" "$adblock" "$stats"
fi
exit 0
fi
getMd5 "$domains" >"$outdir"/md5.old
@ -763,12 +767,17 @@ echo ""
fi
) | tee "$stats"
# Cleanup build out dir if pushed
if inConfig "localpush"; then
rm -f "$domains" "$hosts" "$adblock" "$stats"
fi
echo "End: $(date +'%Y.%m-%d-%H:%M:%S')"
echo ""
# Cleanup
rm -f "$header.ext"
sortList $builddir/sourcefiles.txt
#sortList $builddir/sourcefiles.txt
echo "$name - Done!"
echo ""