aboutsummaryrefslogtreecommitdiff
path: root/cad/fritzing/files/pkg-install.in
blob: a84dd7733456d6b8f890814bcd51863893323ed4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
echo $2 for FRITZING

case $2 in
PRE-INSTALL)
	if ! id fritzing  > /dev/null 2>&1
	then
		pw adduser fritzing
	fi
;;
POST-INSTALL)
	echo fritzing shared files owned by fritzing user
	chown -R fritzing:fritzing %%PREFIX%%/share/fritzing
	chmod -R g+w %%PREFIX%%/share/fritzing
;;
esac