mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-06 23:55:56 +02: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
|
sed -i "s|/share/webtop_kde|$LOCATION|g" /etc/services.d/*/run
|
||||||
usermod --home "$LOCATION" abc
|
usermod --home "$LOCATION" abc
|
||||||
|
|
||||||
# Set ownership
|
|
||||||
bashio::log.info "Setting ownership to $PUID:$PGID"
|
|
||||||
chown "$PUID":"$PGID" "$LOCATION"
|
|
||||||
|
|
||||||
# Create folder
|
# Create folder
|
||||||
echo "Creating $LOCATION"
|
echo "Creating $LOCATION"
|
||||||
mkdir -p "$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