summarylogtreecommitdiffstats
path: root/seiscomp.install
blob: 3421d07aa04417ef1f484ebc5fced582e87472a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_install() {
	find opt/seiscomp -type d -exec setfacl -d -m g::rwX '{}' \;

	echo "  ->----------------------------------------------------------------<-"
	echo "  -> Before using seiscomp for first time you need to do following:"
	echo "  -> - Add your user to 'seiscomp' group:"
	echo "  ->   sudo gpasswd -a $USERNAME seiscomp"
	echo "  -> - Restart your system or logout and login again."
	echo "  ->----------------------------------------------------------------<-"
}

post_upgrade() {
	find opt/seiscomp -type d -exec setfacl -d -m g::rwX '{}' \;
}