From 7390831609b68ee56a964f7e6425d1642d512f1d Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Wed, 15 Jul 2020 22:54:43 +0200 Subject: [PATCH] Fix remaining occurrencees of "zstd" Signed-off-by: Knut Ahlers --- Makefile | 2 +- scripts/check_aur_updates.sh | 2 +- scripts/has_archive_mix.sh | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 36d8ad5..e231a0f 100644 --- a/Makefile +++ b/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 diff --git a/scripts/check_aur_updates.sh b/scripts/check_aur_updates.sh index 2490c49..f543903 100755 --- a/scripts/check_aur_updates.sh +++ b/scripts/check_aur_updates.sh @@ -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") diff --git a/scripts/has_archive_mix.sh b/scripts/has_archive_mix.sh index 0a90e30..9a84457 100644 --- a/scripts/has_archive_mix.sh +++ b/scripts/has_archive_mix.sh @@ -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 }