1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-07-20 03:57:29 +02:00
ntfy/scripts/postrm.sh

9 lines
149 B
Bash
Executable file

#!/bin/sh
set -e
# Delete the config if package is purged
if [ "$1" = "purge" ]; then
echo "Deleting /etc/ntfy ..."
rm -rf /etc/ntfy || true
fi