This commit is contained in:
Daniel Langbein 2021-04-27 11:45:37 +02:00
parent 812fcff8b7
commit 32beefa5f2

View File

@ -9,7 +9,7 @@ cd "${LOCAL_PKG_DIR}" || exit
# check if at least one matching file exists # check if at least one matching file exists
match="0" match="0"
for PKG in ./*.pkg.tar.{xz,zst}; do for PKG in ./*.pkg.tar.{xz,zst}; do
[ -f "$PKG" ] || { echo "No match for pattern $PKG"; continue; } [ -f "$PKG" ] || { echo "There are no local packages for the pattern $PKG"; continue; }
# if we are here, then there is at least one match! # if we are here, then there is at least one match!
match="1" match="1"