Commit c9f075e9 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-filelist: add support file list for noninstalled packages on deb

parent f4051c4c
......@@ -49,6 +49,11 @@ __epm_filelist_remote()
# TODO: use RESTful interface to prometeus? See ALT bug #29496
docmd_foreach __alt_local_content_filelist $@
;;
apt-dpkg)
assure_exists apt-file
sudocmd apt-file update
docmd apt-file list $@
;;
*)
fatal "Query filelist for non installed packages does not realized"
;;
......@@ -130,6 +135,7 @@ __epm_filelist_name()
# TODO: add less
docmd $CMD $pkg_names && return
# TODO: may be we need check is installed before prev. line?
is_installed $pkg_names || __epm_filelist_remote $pkg_names
}
......
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