aboutsummaryrefslogtreecommitdiff
path: root/packages/redhat/post_uninstall
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2024-11-16 14:16:57 +0100
committerToni Uhlig <matzeton@googlemail.com>2024-11-17 17:12:06 +0100
commit4bed2a791f2498ab1e48d50dd6799031611b85c5 (patch)
tree6841e06d9746d9cbef80e6038233dd836c8e6a8b /packages/redhat/post_uninstall
parent1aa7d9bdb6d517a70eb1ee5f158a305677c8157f (diff)
CMake/RPM integration
* CI integration * RPM (un)install scripts Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'packages/redhat/post_uninstall')
-rw-r--r--packages/redhat/post_uninstall8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/redhat/post_uninstall b/packages/redhat/post_uninstall
new file mode 100644
index 000000000..e36f9fa6b
--- /dev/null
+++ b/packages/redhat/post_uninstall
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ $1 == 0 ]; then
+ rm -rf /run/nDPId /run/nDPIsrvd
+ userdel ndpid || true
+ userdel ndpisrvd || true
+ groupdel ndpisrvd-distributor || true
+fi