aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/freeradius/pkg-plist2
-rw-r--r--net/freeradius2/pkg-plist2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/freeradius/pkg-plist b/net/freeradius/pkg-plist
index 748b23f282bd..bf7280bd5d77 100644
--- a/net/freeradius/pkg-plist
+++ b/net/freeradius/pkg-plist
@@ -433,4 +433,4 @@ sbin/rc.radiusd
@unexec rm -fr /var/log/raddb
@exec mkdir -p /var/run/radiusd
@unexec rm -fr /var/run/radiusd
-@unexec echo "You should remove %D/etc/raddb if you don't need it anymore."
+@unexec rmdir %D/etc/raddb 2> /dev/null || echo "You should remove %D/etc/raddb if you don't need it anymore."
diff --git a/net/freeradius2/pkg-plist b/net/freeradius2/pkg-plist
index 748b23f282bd..bf7280bd5d77 100644
--- a/net/freeradius2/pkg-plist
+++ b/net/freeradius2/pkg-plist
@@ -433,4 +433,4 @@ sbin/rc.radiusd
@unexec rm -fr /var/log/raddb
@exec mkdir -p /var/run/radiusd
@unexec rm -fr /var/run/radiusd
-@unexec echo "You should remove %D/etc/raddb if you don't need it anymore."
+@unexec rmdir %D/etc/raddb 2> /dev/null || echo "You should remove %D/etc/raddb if you don't need it anymore."