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

	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 '{}' \; \
		-exec chmod g+s '{}' \;
}