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

epm check_updated_repo: apt based only

parent 07982e73
......@@ -108,6 +108,16 @@ __is_repo_info_uptodate()
update_repo_if_needed()
{
local days
# for apt only
case $PMTYPE in
apt-*)
;;
*)
return
;;
esac
days="$(__epm_check_apt_db_days)" && return
warning "APT database is $days, please run 'epm update'!"
......
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