Skip to content
Snippets Groups Projects
Commit c3cb0657 authored by Lukas Braun's avatar Lukas Braun
Browse files

goatherd.postrm: ignore if statedir is not empty

parent 39de82bf
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ if test "$1" = "purge"; then
statedir=/var/lib/goatherd
rm -f $statedir/goatherd.sqlite3
rmdir $statedir || true
rmdir $statedir >/dev/null 2>/dev/null || true
dpkg-statoverride --remove $statedir >/dev/null 2>/dev/null || true
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment