Commit 38a5cea2 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-update: skip apt-cache (use too much time)

parent 6ebd19fe
......@@ -51,6 +51,9 @@ __save_available_packages()
# update list only if the system supports bash completion
[ -d /etc/bash_completion.d ] || return 0
# HACK: too much time (5 minutes) on deb systems in a docker
[ $PMTYPE = "apt-dpkg" ] && return 0
info "Retrieving list of all available packages (for autocompletion) ..."
load_helper epm-list_available
short=--short epm_list_available | sort | sudorun tee $epm_vardir/available-packages >/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