Commit 322046d2 authored by Vitaly Lipatov's avatar Vitaly Lipatov

__epm_check_vendor(): skip repacked packages, skip missed packages

parent 723cf064
......@@ -134,7 +134,8 @@ __epm_check_vendor()
local i
for i in $* ; do
if ! epm_status_validate "$i" ; then
warning "Can't get any info for $i package. Scripts are DISABLED for package $i. Use --scripts if you need run scripts from such packages."
# it is missed package probably (package remove case)
#warning "Can't get any info for $i package. Scripts are DISABLED for package $i. Use --scripts if you need run scripts from such packages."
noscripts="--noscripts"
continue
fi
......@@ -149,6 +150,7 @@ __epm_check_vendor()
fi
epm_status_original "$i" && continue
epm_status_repacked "$i" && continue
if __epm_vendor_ok_scripts "$vendor" ; then
warning "Scripts are ENABLED for package $i from outside vendor '$vendor' (this vendor is listed in $CONFIGDIR/vendorallowscripts.list). Use --noscripts if you need disable scripts in such packages."
......
# Place here Vendor names who are allowed to use scripts in their rpm packages
# Packages from these vendors will install with scripts by default
ALT Linux Team
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