Commit c0c7b0a6 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-autoremove: add --auto support

parent 035e692a
......@@ -170,7 +170,7 @@ epm_autoremove()
case $DISTRNAME in
ALTLinux)
if [ -z "$direct" ] ; then
sudocmd apt-get autoremove $dryrun
sudocmd apt-get $(subst_option non_interactive -y) autoremove $dryrun
local RET=$?
info "Also you can run 'epm autoremove --direct' to use low level autoremove (epm internal implementation)"
[ "$RET" = 0 ] || return
......
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