mirror of
https://github.com/Luzifer/archrepo.git
synced 2024-12-20 21:21:19 +00:00
Fix remaining occurrencees of "zstd"
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
7e0801c530
commit
7390831609
3 changed files with 7 additions and 7 deletions
2
Makefile
2
Makefile
|
@ -1,4 +1,4 @@
|
|||
export DATABASE:=$(shell find . -maxdepth 1 -mindepth 1 -name '*.db.tar.xz' -or -name '*.db.tar.zstd')
|
||||
export DATABASE:=$(shell find . -maxdepth 1 -mindepth 1 -name '*.db.tar.xz' -or -name '*.db.tar.zst')
|
||||
export REPOKEY:=D0391BF9
|
||||
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ join_by() {
|
|||
declare -A local_versions
|
||||
declare -A aur_versions
|
||||
|
||||
database=$(find . -maxdepth 1 -mindepth 1 -name '*.db.tar.xz' -or -name '*.db.tar.zstd')
|
||||
database=$(find . -maxdepth 1 -mindepth 1 -name '*.db.tar.xz' -or -name '*.db.tar.zst')
|
||||
|
||||
aur_query=("https://aur.archlinux.org/rpc/?v=5&type=info")
|
||||
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
[[ $(find . -name '*.tar.zstd' | wc -l) -gt 0 ]] || {
|
||||
echo "No ZStd archives found, nothing to worry"
|
||||
[[ $(find . -name '*.tar.zst' | wc -l) -gt 0 ]] || {
|
||||
echo "No zst archives found, nothing to worry"
|
||||
exit 0
|
||||
}
|
||||
|
||||
[[ $(find . -name '*.tar.xz' | wc -l) -gt 0 ]] && {
|
||||
echo "Both XZ and ZStd archives found, pay attention!"
|
||||
echo "Both XZ and zst archives found, pay attention!"
|
||||
}
|
||||
|
||||
[[ $(find . -name '*.db.tar.xz' | wc -l) -gt 0 ]] && [[ $(find . -name '*.db.tar.zstd' | wc -l) -gt 0 ]] && {
|
||||
echo "Found XZ and ZStd databases! Check this!"
|
||||
[[ $(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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue