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

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