Update 50-ipv6.sh

Fix boolean logic for IPv6
This commit is contained in:
ian351c 2024-06-05 12:15:06 -04:00 committed by GitHub
parent 0232ebf3ba
commit 6da6d87ffd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,9 +32,9 @@ process_folder () {
echo "$(sed -E "$SED_REGEX" "$FILE")" > $FILE
done
if [ "$SKIP_FILE_OWNERSHIP" == "true" ] || [ "$SKIP_FILE_OWNERSHIP" == "on" ] || [ "$SKIP_FILE_OWNERSHIP" == "1" ] || [ "$SKIP_FILE_OWNERSHIP" == "yes" ]; then
if [ "$SKIP_FILE_OWNERSHIP" == "true" ] || [ "$SKIP_FILE_OWNERSHIP" == "on" ] || [ "$SKIP_FILE_OWNERSHIP" == "1" ] || [ "$SKIP_FILE_OWNERSHIP" == "yes" ]; then
log_info 'Skipping ownership, use only with caution ...'
else
else
# ensure the files are still owned by the npm user
chown -R "$PUID:$PGID" "$1"
fi