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