summarylogtreecommitdiffstats
path: root/firefox-syncstorage.install
blob: 44753246a85fde5119aa7485b6afbf5c7be7e129 (plain)
1
2
3
4
5
6
7
8
9
10
11
post_install() {
	getent group syncstorage &>/dev/null || groupadd -r syncstorage >/dev/null
	getent passwd syncstorage &>/dev/null || useradd -r -s /usr/bin/false \
		-g syncstorage -G syncstorage  syncstorage >/dev/null
}

pre_remove() {
	getent passwd syncstorage &>/dev/null && userdel syncstorage >/dev/null
	getent group syncstorage &>/dev/null && groupdel syncstorage >/dev/null
	true
}