summaryrefslogtreecommitdiffstats
path: root/extra/tinyproxy/tinyproxy.install
blob: 5fa366737beebd4b427c21db534e0ea3e11fcf57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

case "$1" in
	pre_install)
		adduser -h /dev/null -s /bin/false -D tinyproxy 2>/dev/null
		;;
	post_install)
		chown tinyproxy:tinyproxy /var/run/tinyproxy
		;;
esac

# return with success even if user already exist
exit 0