Commit 76fd78f8 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-sh-install: don't check vendor if a package is unaccesible

parent c517c791
......@@ -78,7 +78,12 @@ __epm_check_vendor()
local i
for i in $* ; do
local vendor
local vendor rpmversion
# skip checking if the package is unaccessible
rpmversion="$(epm print field Version for "$i" 2>/dev/null)"
[ -n "$rpmversion" ] || continue
vendor="$(epm print field Vendor for "$i" 2>/dev/null)"
# TODO: check GPG
[ "$vendor" = "ALT Linux Team" ] && continue
......
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