Update postrm.sh to fix incomplete uninstall

This commit is contained in:
Nanashi 2024-01-23 12:02:02 -06:00 committed by João Oliveirinha
parent 652c82daa9
commit e846943e66
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
set -eu
rm /usr/local/bin/cloudflared
rm /usr/local/etc/cloudflared/.installedFromPackageManager || true
rm -f /usr/local/bin/cloudflared
rm -f /usr/local/etc/cloudflared/.installedFromPackageManager || true