mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02: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"
|
echo "Creating $LOCATION"
|
||||||
mkdir -p "$LOCATION" "$LOCATION"/data "$LOCATION"/cache "$LOCATION"/log "$LOCATION"/web
|
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"
|
bashio::log.info "Setting ownership to $PUID:$PGID"
|
||||||
chown "$PUID":"$PGID" "$LOCATION"
|
chown -R "$PUID":"$PGID" "$LOCATION"
|
||||||
|
|||||||
Reference in New Issue
Block a user