mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Update Dockerfile
This commit is contained in:
@@ -31,9 +31,8 @@ RUN \
|
||||
&& sed -i 's/{PUID:-911}/(bashio::config "PUID")/g' /etc/cont-init.d/10-adduser \
|
||||
&& sed -i 's/{PGID:-911}/(bashio::config "PGID")/g' /etc/cont-init.d/10-adduser \
|
||||
# Use subfolder in config
|
||||
&& files=$(grep -rl "/config" /defaults/*) && echo $files | xargs sed -i "s|/config|/config/piwigo|g" \
|
||||
&& files=$(grep -rl "/config" /etc/cont-init.d/*) && echo $files | xargs sed -i "s|/config|/config/piwigo|g" \
|
||||
&& files=$(grep -rl "/gallery/include/config/piwigo/piwigo_default.inc.php" /etc/*) && echo $files | xargs sed -i "s|/gallery/include/config/piwigo/piwigo_default.inc.php|/gallery/include/config_default.inc.php|g" \
|
||||
&& files=$(grep -rl "/config" /etc/services.d/*) && echo $files | xargs sed -i "s|/config|/config/piwigo|g"
|
||||
|
||||
&& files=$(grep -rl "/config/" /defaults/*) && echo $files | xargs sed -i "s|/config/|/config/piwigo/|g" \
|
||||
&& files=$(grep -rl "/config/" /etc/cont-init.d/*) && echo $files | xargs sed -i "s|/config/|/config/piwigo/|g" \
|
||||
&& files=$(grep -rl "/config/" /etc/services.d/*) && echo $files | xargs sed -i "s|/config/|/config/piwigo/|g" \
|
||||
&& files=$(grep -rl " /config" /etc/cont-init.d/*) && echo $files | xargs sed -i "s= /config= /config/piwigo=g"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user