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 }