summarylogtreecommitdiffstats
path: root/depot-tools-git.install
blob: 00b5f1498a6fa8758fe2f173ef1f02d3ccf1b3b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
post_install() {
	cat <<- EOF
	depot_tools is installed in /opt/depot_tools/.
	This directory is not in \$PATH by default, so make sure to export PATH=/opt/depot_tools:\$PATH before using it.
	Also, this directory has root permissions, so either use it as root, or if you want to use it as your currect user:

	# groupadd depot_tools
	# gpasswd -a \$(whoami) depot_tools
	# setfacl -m g:depot_tools:rwX /opt/depot_tools/

	Then re-login as your current user or log your terminal in to the newly created group:

	$ newgrp depot_tools
	EOF
}