☰
Debian Codegraph
@
2.27.0-1
2.24.0-1
/
/
scripts
/
postrm.sh
☽
☼
scripts/postrm.sh
code
plain
raw
Apache-2.0
or
GPL-2
2022 Philipp C. Heckel.
debian/copyright
1
#!/bin/sh
2
set -e
3
4
# Delete the config if package is purged
5
if [ "$1" = "purge" ] || [ "$1" = "0" ]; then
6
id ntfy >/dev/null 2>&1 && userdel ntfy
7
rm -f /etc/ntfy/server.yml /etc/ntfy/client.yml
8
rmdir /etc/ntfy || true
9
fi
10