mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
fix
This commit is contained in:
parent
f636d68d6c
commit
973798092f
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user