Commit c22a7883 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-sh-functions erc(): install p7zip in any case

parent 625f5ffd
...@@ -543,13 +543,12 @@ eget() ...@@ -543,13 +543,12 @@ eget()
erc() erc()
{ {
if ! is_command patool ; then # install 7zip in any case (can be used)
if is_command 7z || is_command 7za || is_command 7zr || is_command 7zz ; then if is_command 7z || is_command 7za || is_command 7zr || is_command 7zz ; then
: :
else else
epm install p7zip epm install p7zip
fi fi
fi
# use internal eget only if exists # use internal eget only if exists
if [ -s $SHAREDIR/tools_erc ] ; then if [ -s $SHAREDIR/tools_erc ] ; then
......
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