Commit 1a4ef409 authored by Vitaly Lipatov's avatar Vitaly Lipatov

check_updated_repo fix epm update

parent 5bccbf44
......@@ -58,10 +58,11 @@ update_repo_if_needed()
sudo -n true 2>/dev/null || { info "sudo requires a password, skip repo status checking" ; return 0 ; }
fi
cd /
if ! __is_repo_info_downloaded || ! __is_repo_info_uptodate ; then
load_helper epm-update
epm_update
return
pkg_filenames= epm_update
fi
cd - >/dev/null
}
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