Fix openSUSE uninstall

This commit is contained in:
Jamil Bou Kheir
2021-10-14 08:16:22 -07:00
parent 382902c38b
commit f1d36a378c
2 changed files with 12 additions and 3 deletions

View File

@@ -107,7 +107,7 @@ Firezone currently supports the following distributions and architectures:
| Fedora 34 | `amd64` | **Fully-supported** | Works as-is |
| Ubuntu 18.04 | `amd64` | **Fully-supported** | See [Ubuntu 18.04 Notes](#ubuntu-1804-notes) |
| Ubuntu 20.04 | `amd64` | **Fully-supported** | Works as-is |
| openSUSE Leap 15.3 | `amd64` | **Fully-supported** | Works as-is |
| openSUSE Leap 15.3 | `amd64` | **Fully-supported** | See [openSUSE Notes](#opensuse-notes) |
If your distro isn't listed here please
[open an issue](https://github.com/firezone/firezone/issues/new/choose) and let
@@ -138,6 +138,15 @@ Kernel upgrade to 4.19+ required. See [this guide
](https://jensd.be/968/linux/install-a-newer-kernel-in-debian-10-buster-stable)
for an example.
### openSUSE Notes
Firezone requires the `setcap` utility, but some recent openSUSE releases may
not have it installed by default. To fix, ensure `libcap-progs` is installed:
```bash
sudo zypper install libcap-progs
```
## Installation Instructions
Assuming you're running Linux kernel 4.19+ on one of the supported distros

View File

@@ -8,11 +8,11 @@ firezone-ctl cleanse yes
echo 'Removing firezone package...'
if type apt-get > /dev/null; then
apt-get remove -y --purge firezone
DEBIAN_FRONTEND=noninteractive apt-get remove -y --purge firezone
elif type yum > /dev/null; then
yum remove -y firezone
elif type zypper > /dev/null; then
zypper remove -u firezone
zypper --non-interactive remove -y -u firezone
else
echo 'Warning: package management tool not found; not '\
'removing installed package. This can happen if your'\