This commit is contained in:
Daniel Langbein 2021-04-25 15:57:10 +02:00
parent f636d68d6c
commit 973798092f

View File

@ -77,6 +77,7 @@ function get_pkginfo(){
elif endswith "$1" ".pkg.tar.zst"; then elif endswith "$1" ".pkg.tar.zst"; then
PKGINFO=$(tar -I zstd -xvf "$1" -O .PKGINFO) || return $? PKGINFO=$(tar -I zstd -xvf "$1" -O .PKGINFO) || return $?
else else
echo "$1 does not seem to be a package!"
return 1 return 1
fi fi
} }