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

epm-autoremove: use ALTLinux case instead apt-rpm

parent fae10222
......@@ -61,21 +61,23 @@ epm_autoremove()
[ -z "$pkg_filenames" ] || fatal "No arguments are allowed here"
case $PMTYPE in
apt-rpm)
# ALT Linux only
case $DISTRNAME in
ALTLinux)
__epm_autoremove_altrpm
# ALT Linux only
assure_exists remove-old-kernels update-kernel 0.9.9
sudocmd remove-old-kernels
# ALT Linux only
if which nvidia-clean-driver 2>/dev/null ; then
sudocmd nvidia-clean-driver
fi
return
;;
*)
;;
esac
case $PMTYPE in
apt-dpkg|aptitude-dpkg)
sudocmd apt-get autoremove
;;
......
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