Fix umask
This commit is contained in:
parent
66e3d11293
commit
3bab46a4d2
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ gitdir=$1
|
||||||
|
|
||||||
##
|
##
|
||||||
# main
|
# main
|
||||||
umask u=rwX,g=rX,o=rX
|
umask u=rwX,g=rX,o=
|
||||||
if [ -e "${gitdir}/.git" ]; then
|
if [ -e "${gitdir}/.git" ]; then
|
||||||
set -x
|
set -x
|
||||||
cd "${gitdir}"
|
cd "${gitdir}"
|
||||||
|
|
|
@ -18,5 +18,5 @@ fi
|
||||||
|
|
||||||
if ! grep -F "${conf}" "${doas}" > /dev/null 2>&1; then
|
if ! grep -F "${conf}" "${doas}" > /dev/null 2>&1; then
|
||||||
echo "${conf}" >> "${doas}"
|
echo "${conf}" >> "${doas}"
|
||||||
echo "[ok] update ${doas}"
|
echo "[ok] modify ${doas}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue