File: 50vcs-perm

package info (click to toggle)
etckeeper 0.48
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 380 kB
  • ctags: 32
  • sloc: sh: 916; makefile: 44; python: 41
file content (12 lines) | stat: -rwxr-xr-x 197 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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
elif [ "$VCS" = darcs ]; then
	chmod 700 _darcs
fi