Commit 593cbde1 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-update fix content index updating on deb system

parent 60d0aa93
...@@ -47,6 +47,7 @@ __save_available_packages() ...@@ -47,6 +47,7 @@ __save_available_packages()
{ {
[ -d "$epm_vardir" ] || return 0 [ -d "$epm_vardir" ] || return 0
# TODO: ignore in docker
# update list only if the system supports bash completion # update list only if the system supports bash completion
[ -d /etc/bash_completion.d ] || return 0 [ -d /etc/bash_completion.d ] || return 0
...@@ -67,6 +68,8 @@ esac ...@@ -67,6 +68,8 @@ esac
case $PMTYPE in case $PMTYPE in
apt-dpkg) apt-dpkg)
is_command apt-file || return 0
assure_exists apt-file || return 0
sudocmd apt-file update sudocmd apt-file update
;; ;;
esac esac
......
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