Commit 37cc8dd9 authored by Vitaly Lipatov's avatar Vitaly Lipatov

__epm_check_vendor: disable scripts if we can't get vendor

parent b8e4364d
......@@ -79,7 +79,7 @@ __epm_check_vendor()
local i
for i in $* ; do
local vendor
vendor="$(epm print field Vendor for "$i" 2>/dev/null)" || continue
vendor="$(epm print field Vendor for "$i" 2>/dev/null)"
# TODO: check GPG
[ "$vendor" = "ALT Linux Team" ] && continue
warning "Scripts are disabled for package $i from outside vendor '$vendor'. Use --scripts if you need run scripts from such packages."
......
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