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

kernel update/remove: add --auto support (non interactive)

parent 1681a3c8
......@@ -35,8 +35,8 @@ epm_kernel_update()
fi
assure_exists update-kernel update-kernel 0.9.9
update_repo_if_needed
sudocmd update-kernel $pkg_filenames || return
docmd epm remove-old-kernels $pkg_filenames || fatal
sudocmd update-kernel $(subst_option non_interactive -y) $pkg_filenames || return
docmd epm remove-old-kernels $(subst_option non_interactive -y) $pkg_filenames || fatal
return ;;
esac
......
......@@ -32,7 +32,7 @@ epm_remove_old_kernels()
return
fi
assure_exists update-kernel update-kernel 0.9.9
sudocmd remove-old-kernels $pkg_filenames
sudocmd remove-old-kernels $(subst_option non_interactive -y) $pkg_filenames
return ;;
Ubuntu)
load_helper epm-query_package
......
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