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:
@@ -29,6 +29,14 @@ FROM fireflyiii/core:latest
|
||||
# # Change data location
|
||||
# grep -rl "/var/www/html" /etc/ | xargs sed -i 's|/var/www/html|/data/firefly|g'
|
||||
|
||||
RUN \
|
||||
#################
|
||||
# Fix for 5.7.5 #
|
||||
#################
|
||||
PATH="$(find / -type f -name 'GroupCollector.php' 2>/dev/null)" \
|
||||
&& sed -i "s#\'amount\'], \$transaction #\'amount\'], (string)(\$transaction#g" "$PATH" \
|
||||
&& sed -i "s#\'0\');#\'0\'));#g" "$PATH"
|
||||
|
||||
##################
|
||||
# 3 Install apps #
|
||||
##################
|
||||
|
||||
Reference in New Issue
Block a user