fixup the fixup the

This commit is contained in:
Tim Schubert 2022-04-26 22:05:55 +02:00
parent e1ecb7dc05
commit 9a9ef67a06
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA

3
update
View file

@ -13,9 +13,10 @@ update() {
return
fi
newlength="$(wc -l ${dst})"
newlength="$(wc -l < ${dst})"
if [ "$newlength" -lt 3 ]
then
echo "Skipping update of ${url}, because pad has likely been removed"
return
fi