Files
EasyDNS-Web/packaging/debian/postrm
T
Mateusz Gruszczyński 8c4d463f1e
Go quality gates / test (push) Waiting to run
first commit
2026-11-30 11:37:40 +01:00

11 lines
253 B
Bash
Executable File

#!/bin/sh
set -e
if [ "$1" = purge ]; then
rm -f /etc/easydns-ui/panel.password /etc/easydns-ui/session.key
rmdir /etc/easydns-ui 2>/dev/null || true
fi
if [ -d /run/systemd/system ]; then
systemctl daemon-reload >/dev/null 2>&1 || true
fi
exit 0