mirror of
https://github.com/Luzifer/archrepo.git
synced 2024-12-20 13:11:17 +00:00
Don't fail make run when not explicitly asked
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
27cbe63ba0
commit
89bb621a4e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue