Commit d4b3582a authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-update: don't use pkg_filenames

parent 16a8d2ad
......@@ -28,7 +28,7 @@ epm_Install()
[ -z "$files$names" ] && info "Install: Skip empty install list." && return 22
(pkg_filenames='' epm_update) || { [ -n "$force" ] || return ; }
epm_update || { [ -n "$force" ] || return ; }
epm_install_names $names || return
......
......@@ -22,7 +22,6 @@ load_helper epm-upgrade
epm_Upgrade()
{
(pkg_filenames='' epm_update)
epm_update
epm_upgrade
}
......@@ -63,7 +63,7 @@ update_repo_if_needed()
if ! __is_repo_info_downloaded || ! __is_repo_info_uptodate ; then
load_helper epm-update
# FIXME: cleans!!!
(pkg_filenames='' epm_update)
epm_update
fi
cd - >/dev/null || fatal
......
......@@ -23,7 +23,7 @@ load_helper epm-kernel_update
epm_full_upgrade()
{
(pkg_filenames='' epm_update) || return
epm_update || return
epm_upgrade || return
......
......@@ -23,7 +23,7 @@ load_helper epm-sh-warmup
epm_update()
{
[ -z "$pkg_filenames" ] || fatal "No arguments are allowed here"
[ -z "$*" ] || fatal "No arguments are allowed here"
info "Running command for update remote package repository database"
warmup_hibase
......
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