Commit 2f0c2d70 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-autoremove: disable interactive for all parts (ALT bug 39321)

parent 2814c50c
......@@ -208,10 +208,14 @@ case $DISTRNAME in
[ -n "$dryrun" ] && return
docmd epm remove-old-kernels
docmd epm remove-old-kernels $(subst_option non_interactive --auto)
if which nvidia-clean-driver 2>/dev/null ; then
sudocmd nvidia-clean-driver
if [ -n "$non_interactive" ] ; then
yes | sudocmd nvidia-clean-driver
else
sudocmd nvidia-clean-driver
fi
fi
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