Update 00-data_location.sh

This commit is contained in:
Alexandre
2023-07-28 14:44:00 +02:00
committed by GitHub
parent 47a70771d9
commit 9a3cc5880b

View File

@@ -34,7 +34,7 @@ fi
bashio::log.info "Setting data location to $LOCATION"
sed -i "1a export HOME=$LOCATION" $(find /etc/s6-overlay/s6-rc.d -name "run" -type f) || true
sed -i "1a export FM_HOME=$LOCATION$(find /etc/s6-overlay/s6-rc.d -name "run" -type f) || true
sed -i "1a export FM_HOME=$LOCATION" $(find /etc/s6-overlay/s6-rc.d -name "run" -type f) || true
sed -i "s|/share/webtop_kde|$LOCATION|g" $(find /defaults -type f) || true
sed -i "s|/share/webtop_kde|$LOCATION|g" $(find /etc/cont-init.d -type f) || true
sed -i "s|/share/webtop_kde|$LOCATION|g" $(find /etc/services.d -type f) || true