mirror of
https://github.com/utoni/nDPId.git
synced 2026-05-17 03:56:43 +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>
11 lines
246 B
Bash
Executable file
11 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
|