Commit 0b76914b authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-autoremove: force mark sudo as manual (some bug in a distro?)

parent 14c66d54
......@@ -241,6 +241,9 @@ case $BASEDISTRNAME in
if [ -z "$direct" ] ; then
[ -n "$1" ] && fatal "Run autoremove without args or with --direct. Check epm autoremove --help to available commands."
if epm installed sudo ; then
epm mark manual sudo || fatal
fi
sudocmd apt-get $(subst_option non_interactive -y) autoremove $dryrun
local RET=$?
if [ "$RET" != 0 ] ; 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