Fix README

This commit is contained in:
2025-11-17 19:05:32 +00:00
parent ccaa2dcb25
commit af6c7a0797

View File

@@ -32,6 +32,8 @@ export RESRM_TRASH_LIFE=10
### From package manager ### From package manager
This is the preferred method of installation.
**Ubuntu 22.04 and 24.04** **Ubuntu 22.04 and 24.04**
``` ```
sudo add-apt-repository ppa:mdaleo/resrm sudo add-apt-repository ppa:mdaleo/resrm
@@ -50,14 +52,14 @@ sudo dnf install resrm
**NOTE:** To use `resrm` with `sudo`, the path to `resrm` must be in the `$PATH` seen by `root`.\ **NOTE:** To use `resrm` with `sudo`, the path to `resrm` must be in the `$PATH` seen by `root`.\
Either: Either:
* install `resrm` as `root` (_preferred_), or * install `resrm` as `root`, or
* add the path to `resrm` to the `secure_path` parameter in `/etc/sudoers`. For example, where `/home/user/.local/bin` is where `resrm` is: * add the path to `resrm` to the `secure_path` parameter in `/etc/sudoers`. For example, where `/home/user/.local/bin` is where `resrm` is:
``` bash ``` bash
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/user/.local/bin" Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/user/.local/bin"
``` ```
Install via PyPI (_preferred_): Install with:
```bash ```bash
pip install resrm pip install resrm