Commit 5de46559 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-epm_install: allow install a few packages simultaneously.

parent 4a0a2327
...@@ -71,11 +71,16 @@ __epm_korinf_list() { ...@@ -71,11 +71,16 @@ __epm_korinf_list() {
__epm_korinf_install() { __epm_korinf_install() {
local PACKAGE="$1"
# due Error: Can't use epm call from the piped script # due Error: Can't use epm call from the piped script
#epm install $(__epm_korinf_site_mask "$PACKAGE") #epm install $(__epm_korinf_site_mask "$PACKAGE")
[ -n "$non_interactive" ] || interactive="--interactive" [ -n "$non_interactive" ] || interactive="--interactive"
pkg_names='' pkg_files='' pkg_urls="$(__epm_korinf_site_mask "$PACKAGE")" epm_install
local pkg
local pkg_urls=''
for pkg in $* ; do
pkg_urls="$pkg_urls $(__epm_korinf_site_mask "$pkg")"
done
pkg_names='' pkg_files='' epm_install
} }
epm_epm_install() { epm_epm_install() {
...@@ -99,7 +104,5 @@ epm_epm_install() { ...@@ -99,7 +104,5 @@ epm_epm_install() {
;; ;;
esac esac
for i in $pkglist ; do __epm_korinf_install $pkglist
__epm_korinf_install $i
done
} }
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