mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update 00-data_location.sh
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user