Commit c22a7883 authored by Vitaly Lipatov's avatar Vitaly Lipatov

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

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