Skip to content

Commit

Permalink
fix postrm
Browse files Browse the repository at this point in the history
  • Loading branch information
rustdesk committed Jul 22, 2023
1 parent 95fe0e5 commit d6f99ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion debian/rustdesk-server-hbbr.postrm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion debian/rustdesk-server-hbbs.postrm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d6f99ed

Please sign in to comment.