Update 00-data_location.sh

This commit is contained in:
Alexandre
2022-02-13 22:45:00 +01:00
committed by GitHub
parent 8e81de3f9b
commit 8ee811e82d

View File

@@ -22,11 +22,10 @@ sed -i "s|/share/webtop_kde|$LOCATION|g" /etc/cont-init.d/*
sed -i "s|/share/webtop_kde|$LOCATION|g" /etc/services.d/*/run
usermod --home "$LOCATION" abc
# Set ownership
bashio::log.info "Setting ownership to $PUID:$PGID"
chown "$PUID":"$PGID" "$LOCATION"
# Create folder
echo "Creating $LOCATION"
mkdir -p "$LOCATION"
# Set ownership
bashio::log.info "Setting ownership to $PUID:$PGID"
chown "$PUID":"$PGID" "$LOCATION"