2021-10-23 21:29:45 -04:00
|
|
|
#!/bin/sh
|
2021-12-04 15:32:21 -05:00
|
|
|
set -e
|
|
|
|
|
|
|
|
# Delete the config if package is purged
|
2021-10-23 21:29:45 -04:00
|
|
|
if [ "$1" = "purge" ]; then
|
2021-12-04 15:32:21 -05:00
|
|
|
echo "Deleting /etc/ntfy ..."
|
|
|
|
rm -rf /etc/ntfy || true
|
2021-10-23 21:29:45 -04:00
|
|
|
fi
|