diff --git a/ubuntu-kernel-cleanup.ini b/ubuntu-kernel-cleanup.ini index a5e7bf945afc42289e6d8f4e7976988dd62a2c18..114ada51ddad65b78c905b27b2db69f9be4e70da 100644 --- a/ubuntu-kernel-cleanup.ini +++ b/ubuntu-kernel-cleanup.ini @@ -1,15 +1,15 @@ [ubuntu-kernel-cleanup] # you can get a list package prefixes and suffixes using "apt-cache search" # -# further information can be found here /usr/share/doc/ubuntu-kernel-cleanup/README.md +# further information can be found inside /usr/share/doc/ubuntu-kernel-cleanup/README.txt # # If the running kernel does not belong to the list of the latest kernels, # obtained with the option "count", then the script will keep "count + 1" kernels. count = 2 -# prefix comes after the version number +# prefix comes before the version number kernel_prefixes = linux-tools, linux-headers, linux-modules, linux-modules-extra, linux-image, linux-image-unsigned -# suffix come before the version number +# suffix come after the version number kernel_suffixes = generic, aws diff --git a/ubuntu-kernel-cleanup.py b/ubuntu-kernel-cleanup.py index 5843082cfdc0b92b90be8eec4304bd2b10f01e68..a04bf70a89a97b4006561df20c97dbfb10a8f4a8 100755 --- a/ubuntu-kernel-cleanup.py +++ b/ubuntu-kernel-cleanup.py @@ -1,10 +1,11 @@ #!/usr/bin/python3 +# pylint: disable=C0103 # """ Remove intermediates and unused kernels from Ubuntu For more information, please check inside: - /etc/ubuntu-kernel-cleanup.ini - - /share/doc/ubuntu-kernel-cleanup/README.txt + - /usr/share/doc/ubuntu-kernel-cleanup/README.txt Usage: remove-ubuntu-kernels.py (--real-run | --dry-run)