aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorrustdesk <[email protected]>2023-07-22 22:06:51 +0800
committerrustdesk <[email protected]>2023-07-22 22:06:51 +0800
commitd6f99ed9a2afb9c58475035fd9c1e84c5293dae8 (patch)
treea0a0d3dc8312f7595792df9777c24d707d3e4613
parent95fe0e5a78cd0bb6a2b08c84efad237deab4e5f2 (diff)
downloadrustdesk-server-1.1.8-1.tar.gz
rustdesk-server-1.1.8-1.zip
fix postrm1.1.8-1
-rw-r--r--debian/rustdesk-server-hbbr.postrm2
-rw-r--r--debian/rustdesk-server-hbbs.postrm2
2 files changed, 2 insertions, 2 deletions
diff --git a/debian/rustdesk-server-hbbr.postrm b/debian/rustdesk-server-hbbr.postrm
index 42a21af..b7eeade 100644
--- a/debian/rustdesk-server-hbbr.postrm
+++ b/debian/rustdesk-server-hbbr.postrm
@@ -6,7 +6,7 @@ SERVICE=rustdesk-hbbr.service
systemctl --system daemon-reload >/dev/null || true
if [ "$1" = "purge" ]; then
- rm -rf /var/lib/rustdesk-server/ /var/log/rustdesk-server/rustdesk-hbbr.* /var/log/rustdesk-server/rustdesk-hbbs.*
+ rm -rf /var/log/rustdesk-server/rustdesk-hbbr.*
deb-systemd-helper purge "${SERVICE}" >/dev/null || true
deb-systemd-helper unmask "${SERVICE}" >/dev/null || true
fi
diff --git a/debian/rustdesk-server-hbbs.postrm b/debian/rustdesk-server-hbbs.postrm
index 7e39e55..f0b45f0 100644
--- a/debian/rustdesk-server-hbbs.postrm
+++ b/debian/rustdesk-server-hbbs.postrm
@@ -6,7 +6,7 @@ SERVICE=rustdesk-hbbs.service
systemctl --system daemon-reload >/dev/null || true
if [ "$1" = "purge" ]; then
- rm -rf /var/lib/rustdesk-server/
+ rm -rf /var/lib/rustdesk-server/ /var/log/rustdesk-server/rustdesk-hbbs.*
deb-systemd-helper purge "${SERVICE}" >/dev/null || true
deb-systemd-helper unmask "${SERVICE}" >/dev/null || true
fi