summaryrefslogtreecommitdiffstats
path: root/debian/redis-tools.postrm
blob: 5d1f6e12014a3a509a569a91e093b08bee0389f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -eu

if [ "${1}" = "purge" ]
then
	userdel redis || true
	rm -rf /var/lib/redis /var/log/redis /etc/redis
fi

#DEBHELPER#

exit 0