deb packaging

This commit is contained in:
Paolo Asperti committed 2022-07-15 18:40:54 +02:00
1 parent 39153ce147
commit 3340322355
19 files changed
+922

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
#!/bin/sh
set -e
SERVICE=rustdesk-hbbs.service
systemctl --system daemon-reload >/dev/null || true
if [ "$1" = "purge" ]; then
rm -rf /var/lib/rustdesk-server/
deb-systemd-helper purge "${SERVICE}" >/dev/null || true
deb-systemd-helper unmask "${SERVICE}" >/dev/null || true
fi
if [ "$1" = "remove" ]; then
deb-systemd-helper mask "${SERVICE}" >/dev/null || true
fi
exit 0