Commit e8b56244 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-epm_install: skip interactive for install from stdin

parent 3e880f6f
......@@ -71,15 +71,19 @@ __epm_korinf_list() {
__epm_korinf_install() {
# due Error: Can't use epm call from the piped script
#epm install $(__epm_korinf_site_mask "$PACKAGE")
[ -n "$non_interactive" ] || interactive="--interactive"
# skip interactive for install eepm from stdin
if inputisatty && [ -n "$PROGDIR" ] && [ "$1" != "eepm" ] ; then
[ -n "$non_interactive" ] || interactive="--interactive"
fi
local pkg
local pkg_urls=''
for pkg in $* ; do
pkg_urls="$pkg_urls $(__epm_korinf_site_mask "$pkg")"
done
# due Error: Can't use epm call from the piped script
#epm install $(__epm_korinf_site_mask "$PACKAGE")
pkg_names='' pkg_files='' epm_install
}
......
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