mirror of https://github.com/marcosfad/mbp-ubuntu
Update update_kernel_mbp.sh
This commit is contained in:
parent
b965d3baad
commit
9038829692
|
@ -73,7 +73,7 @@ grub2-mkconfig -o /boot/grub2/grub.cfg
|
|||
### Cleanup
|
||||
echo >&2 "===]> Info: Cleaning old kernel pkgs (leaving 3 latest versions)... ";
|
||||
rm -rf ${KERNEL_PATCH_PATH}
|
||||
dnf autoremove -y
|
||||
dnf remove -y "$(dnf repoquery --installonly --latest-limit=-3 -q)"
|
||||
#dnf autoremove -y
|
||||
#dnf remove -y "$(dnf repoquery --installonly --latest-limit=-3 -q)"
|
||||
|
||||
echo >&2 "===]> Info: Kernel update to ${MBP_KERNEL_TAG} finished successfully! ";
|
||||
|
|
Loading…
Reference in New Issue