Commit 03c4eb5e authored by Vitaly Lipatov's avatar Vitaly Lipatov

distr_info: use VENDOR_ID for select pkgtype

parent 144b4b88
......@@ -241,6 +241,13 @@ echo "$CMD"
# Print pkgtype (need DISTRIB_ID var)
pkgtype()
{
case $VENDOR_ID in
arch|manjaro)
echo "pkg.tar.xz" && return
;;
esac
# TODO: try use generic names
case $(pkgvendor) in
freebsd) echo "tbz" ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment