mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-14 02:54:28 +05:00
fix: run umask 022 at launch (#538)
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
3
kiauh.sh
3
kiauh.sh
@@ -12,6 +12,9 @@
|
|||||||
set -e
|
set -e
|
||||||
clear
|
clear
|
||||||
|
|
||||||
|
# make sure we have the correct permissions while running the script
|
||||||
|
umask 022
|
||||||
|
|
||||||
### sourcing all additional scripts
|
### sourcing all additional scripts
|
||||||
KIAUH_SRCDIR="$(dirname -- "$(readlink -f "${BASH_SOURCE[0]}")")"
|
KIAUH_SRCDIR="$(dirname -- "$(readlink -f "${BASH_SOURCE[0]}")")"
|
||||||
for script in "${KIAUH_SRCDIR}/scripts/"*.sh; do . "${script}"; done
|
for script in "${KIAUH_SRCDIR}/scripts/"*.sh; do . "${script}"; done
|
||||||
|
|||||||
Reference in New Issue
Block a user