summaryrefslogtreecommitdiff
path: root/init.d/50vcs-perm
blob: f9a6b8c16b677c667148b84f4d0118d00414cacb (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
set -e

if [ "$VCS" = git ]; then
	chmod 700 .git
elif [ "$VCS" = hg ]; then
	chmod 700 .hg
elif [ "$VCS" = bzr ]; then
	chmod 700 .bzr
fi