diff options
author | rustdesk <[email protected]> | 2023-07-22 21:57:03 +0800 |
---|---|---|
committer | rustdesk <[email protected]> | 2023-07-22 21:57:03 +0800 |
commit | 95fe0e5a78cd0bb6a2b08c84efad237deab4e5f2 (patch) | |
tree | 081fa05dc3d8d288e8ce28098f7476d38b7fa103 /debian | |
parent | b713303c1557f158a3b6279fcce5139190ed2937 (diff) | |
download | rustdesk-server-95fe0e5a78cd0bb6a2b08c84efad237deab4e5f2.tar.gz rustdesk-server-95fe0e5a78cd0bb6a2b08c84efad237deab4e5f2.zip |
fix https://github.com/rustdesk/rustdesk-server/issues/286
Diffstat (limited to 'debian')
-rw-r--r-- | debian/rustdesk-server-hbbr.postinst | 2 | ||||
-rw-r--r-- | debian/rustdesk-server-hbbr.postrm | 2 | ||||
-rw-r--r-- | debian/rustdesk-server-hbbs.postinst | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/debian/rustdesk-server-hbbr.postinst b/debian/rustdesk-server-hbbr.postinst index 27fbbd5..df75332 100644 --- a/debian/rustdesk-server-hbbr.postinst +++ b/debian/rustdesk-server-hbbr.postinst @@ -4,7 +4,7 @@ set -e SERVICE=rustdesk-hbbr.service if [ "$1" = "configure" ]; then - mkdir -p /var/log/rustdesk + mkdir -p /var/log/rustdesk-server fi case "$1" in diff --git a/debian/rustdesk-server-hbbr.postrm b/debian/rustdesk-server-hbbr.postrm index 0420d84..42a21af 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/rustdesk-hbbr.* /var/log/rustdesk/rustdesk-hbbs.* + rm -rf /var/lib/rustdesk-server/ /var/log/rustdesk-server/rustdesk-hbbr.* /var/log/rustdesk-server/rustdesk-hbbs.* deb-systemd-helper purge "${SERVICE}" >/dev/null || true deb-systemd-helper unmask "${SERVICE}" >/dev/null || true fi diff --git a/debian/rustdesk-server-hbbs.postinst b/debian/rustdesk-server-hbbs.postinst index df42813..b53d28d 100644 --- a/debian/rustdesk-server-hbbs.postinst +++ b/debian/rustdesk-server-hbbs.postinst @@ -4,7 +4,7 @@ set -e SERVICE=rustdesk-hbbs.service if [ "$1" = "configure" ]; then - mkdir -p /var/log/rustdesk + mkdir -p /var/log/rustdesk-server fi case "$1" in |