PageRenderTime 52ms CodeModel.GetById 49ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/etckeeper/init.d/50vcs-perm

http://github.com/brinkman83/bashrc
Shell | 12 lines | 10 code | 1 blank | 1 comment | 1 complexity | 69d964fa292197af51da343aed9ae9bb MD5 | raw file
 1#!/bin/sh
 2set -e
 3
 4if [ "$VCS" = git ]; then
 5	chmod 700 .git
 6elif [ "$VCS" = hg ]; then
 7	chmod 700 .hg
 8elif [ "$VCS" = bzr ]; then
 9	chmod 700 .bzr
10elif [ "$VCS" = darcs ]; then
11	chmod 700 _darcs
12fi