git: 0bc3fa689b18 - main - net/xrdp: fix pkg-deinstall script

From: Koichiro Iwao <meta_at_FreeBSD.org>
Date: Sun, 29 Dec 2024 16:24:54 UTC
The branch main has been updated by meta:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0bc3fa689b1806164f27af3340e7323a4556b258

commit 0bc3fa689b1806164f27af3340e7323a4556b258
Author:     Koichiro Iwao <meta@FreeBSD.org>
AuthorDate: 2024-12-29 16:24:07 +0000
Commit:     Koichiro Iwao <meta@FreeBSD.org>
CommitDate: 2024-12-29 16:24:07 +0000

    net/xrdp: fix pkg-deinstall script
---
 net/xrdp/Makefile               | 2 +-
 net/xrdp/files/pkg-deinstall.in | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net/xrdp/Makefile b/net/xrdp/Makefile
index 07a26565e086..75cc6aca375c 100644
--- a/net/xrdp/Makefile
+++ b/net/xrdp/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	xrdp
 DISTVERSION=	0.10.2
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	1
 CATEGORIES=	net
 MASTER_SITES=	https://github.com/neutribolabs/${PORTNAME}/releases/download/v${DISTVERSION}/
diff --git a/net/xrdp/files/pkg-deinstall.in b/net/xrdp/files/pkg-deinstall.in
index f9dd3bd74f1f..3ebbe5952d43 100644
--- a/net/xrdp/files/pkg-deinstall.in
+++ b/net/xrdp/files/pkg-deinstall.in
@@ -12,8 +12,8 @@ case $2 in
         ;;
     POST-DEINSTALL)
         RSAKEYS=%%ETCDIR%%/rsakeys.ini
-        PRIVATEKEY=%%ETCDIR%%/xrdp/key.pem
-        CERTIFICATE=%%ETCDIR%%/xrdp/cert.pem
+        PRIVATEKEY=%%ETCDIR%%/key.pem
+        CERTIFICATE=%%ETCDIR%%/cert.pem
 
         # if keys are generated during post-install script, remove it
         # but do not remove user's keys