Fix umask

This commit is contained in:
0x1eef 2024-04-08 15:59:41 -03:00
parent 66e3d11293
commit 3bab46a4d2
2 changed files with 2 additions and 2 deletions

View file

@ -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}"

View file

@ -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