1
0
Fork 0
mirror of https://github.com/Luzifer/archrepo.git synced 2024-11-08 17:40:01 +00:00

Don't fail make run when not explicitly asked

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2020-07-16 00:17:27 +02:00
parent 27cbe63ba0
commit 89bb621a4e
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -8,9 +8,9 @@ set -euo pipefail
[[ $(find . -name '*.tar.xz' | wc -l) -gt 0 ]] && {
echo "Both XZ and zst archives found, pay attention!"
}
} || true
[[ $(find . -name '*.db.tar.xz' | wc -l) -gt 0 ]] && [[ $(find . -name '*.db.tar.zst' | wc -l) -gt 0 ]] && {
echo "Found XZ and zst databases! Check this!"
exit 1
}
} || true