info "Package '$pkg' does not found in repository."
done
return$res;;
*)
...
...
@@ -129,16 +129,16 @@ EOF
epm_simulate()
{
[-z"$pkg_filenames"]&& info "Skip empty list"&&return 22
[-z"$pkg_filenames"]&& info "Simulate: Skip empty list"&&return 22
local filenames="$(echo$pkg_filenames | filter_out_installed_packages)"
[-z"$filenames"]&& info "All packages are already installed"&&return 0
[-z"$filenames"]&& info "Simulate: All packages are already installed"&&return 0
_epm_do_simulate $filenames
local RES=$?
if[-z"$quiet"];then
["$RES"= 0 ]&& info "Result: $filenames package(s) CAN BE installed"|| info "Result: There are PROBLEMS with install some package(s)"
["$RES"= 0 ]&& info "Simulate result: $filenames package(s) CAN BE installed"|| info "Simulate result: There are PROBLEMS with install some package(s)"