3.[How the script removes the kernels](#how-the-script-removes-the-kernels)
1.[1stcase](#1stcase)
2.[2ndcase](#2ndcase)
3.[3rdtcase](#3rdcase)
3.[ToDo](#todo)
### Setup
I'll wait for better days to come and create a proper release process. Meanwhile I use Git LFS to upload the package inside the [deb/](https://gitlab.com/maxadamo/ubuntu-kernel-cleanup/-/tree/master/deb) directory.
...
...
@@ -18,25 +30,23 @@ if the dependencies are not met:
sudo apt -y-finstall
```
## How it works
### Script usage
### How it works
you can run the script using `--real-run` to remove the packages or use `--dry-run` to show which package would have been removed.
#### Script usage
Example:
you can run the script using `--real-run` to remove the packages or use `--dry-run` to show which package would have been removed:
```bash
ubuntu-kernel-cleanup.py --real-run
```
or
or:
```bash
ubuntu-kernel-cleanup.py --dry-run
```
### Configuration file
#### Configuration file
The script will look for its configuration file in the following locations: