Initial commit
This commit is contained in:
12
etckeeper/init.d/50vcs-perm
Executable file
12
etckeeper/init.d/50vcs-perm
Executable file
@@ -0,0 +1,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
|
||||
Reference in New Issue
Block a user