From 45f95ed1c57235ea3231ca66c9acad0e43c6bb0a Mon Sep 17 00:00:00 2001 From: Massimiliano Adamo <maxadamo@gmail.com> Date: Tue, 2 Feb 2021 21:01:29 +0100 Subject: [PATCH] minor --- ubuntu-kernel-cleanup.ini | 6 +++--- ubuntu-kernel-cleanup.py | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ubuntu-kernel-cleanup.ini b/ubuntu-kernel-cleanup.ini index a5e7bf9..114ada5 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 5843082..a04bf70 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) -- GitLab