aboutsummaryrefslogtreecommitdiffhomepage
path: root/debian/rustdesk-server-hbbs.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rustdesk-server-hbbs.postinst')
-rw-r--r--debian/rustdesk-server-hbbs.postinst4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/rustdesk-server-hbbs.postinst b/debian/rustdesk-server-hbbs.postinst
index b0004f2..df42813 100644
--- a/debian/rustdesk-server-hbbs.postinst
+++ b/debian/rustdesk-server-hbbs.postinst
@@ -3,6 +3,10 @@ set -e
SERVICE=rustdesk-hbbs.service
+if [ "$1" = "configure" ]; then
+ mkdir -p /var/log/rustdesk
+fi
+
case "$1" in
configure|abort-upgrade|abort-deconfigure|abort-remove)
mkdir -p /var/lib/rustdesk-server/