mirror of
https://github.com/optim-enterprises-bv/nDPId.git
synced 2025-12-27 10:15:07 +00:00
* fixed some SonarCloud complaints * added more systemd CI tests * fixed debian package scripts to obey remove/purge * changed `chmod_chown()` error handling Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
12 lines
246 B
Bash
Executable File
12 lines
246 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ "$1" = "remove" -o "$1" = "purge" ]; then
|
|
rm -rf /run/nDPId /run/nDPIsrvd
|
|
|
|
if [ "$1" = "purge" ]; then
|
|
deluser ndpid || true
|
|
deluser ndpisrvd || true
|
|
delgroup ndpisrvd-distributor || true
|
|
fi
|
|
fi
|