mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Update 00-data_location.sh
This commit is contained in:
@@ -17,5 +17,7 @@ for file in $(grep -sril "/usr/share/jellyfin/web" /etc /defaults); do sed -i "s
|
||||
echo "Creating $LOCATION"
|
||||
mkdir -p "$LOCATION" "$LOCATION"/data "$LOCATION"/cache "$LOCATION"/log "$LOCATION"/web
|
||||
|
||||
cp -rn /usr/share/jellyfin/web/* "$LOCATION"/web/ || true
|
||||
|
||||
bashio::log.info "Setting ownership to $PUID:$PGID"
|
||||
chown "$PUID":"$PGID" "$LOCATION"
|
||||
chown -R "$PUID":"$PGID" "$LOCATION"
|
||||
|
||||
Reference in New Issue
Block a user