Update 01-config_yaml.sh

This commit is contained in:
Alexandre
2023-11-23 20:49:41 +01:00
committed by GitHub
parent 759eaee5a3
commit b7bf35843f

View File

@@ -68,8 +68,9 @@ fi
# Permissions
if [[ "$CONFIGSOURCE" == *".yaml" ]]; then
mkdir -p "$(dirname "${CONFIGSOURCE}")" || true
chmod -R 755 "$(dirname "${CONFIGSOURCE}")" || true
echo "Setting permissions for the config.yaml directory"
mkdir -p "$(dirname "${CONFIGSOURCE}")"
chmod -R 755 "$(dirname "${CONFIGSOURCE}")" 2>/dev/null
fi
####################