Commit bf73788e authored by Vitaly Lipatov's avatar Vitaly Lipatov

__epm_print_warning_for_nonalt_packages(): add separate warning for repacked packages

parent a7668e87
...@@ -114,9 +114,20 @@ __epm_print_warning_for_nonalt_packages() ...@@ -114,9 +114,20 @@ __epm_print_warning_for_nonalt_packages()
local i local i
for i in $* ; do for i in $* ; do
epm_status_thirdpart "$i" || continue if epm_status_repacked "$i" ; then
warning "%%% You are trying install package $i repacked from third-party software source. Use it at your own discretion. %%%"
continue
fi
warning "%%% You are trying install package $i from third-party software source. Use it at your own discretion. %%%" if epm_status_thirdpart "$i" ; then
warning "%%% You are trying install package $i from third-party software source. Use it at your own discretion. %%%"
continue
fi
if ! epm_status_original "$i" ; then
warning "%%% You are trying install package $i not from official $DISTROVENDOR/$DISTROVERSION repository. Use it at your own discretion. %%%"
continue
fi
done done
} }
......
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