From 02100bc189f741f9c9063f57046dc8c96cbaeae9 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 16 May 2022 09:54:54 +0200 Subject: [PATCH] Update Dockerfile --- fireflyiii/Dockerfile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/fireflyiii/Dockerfile b/fireflyiii/Dockerfile index be1e23eaa..4ba60ce30 100644 --- a/fireflyiii/Dockerfile +++ b/fireflyiii/Dockerfile @@ -29,13 +29,13 @@ 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" +RUN \ + ################# + # Fix for 5.7.5 # + ################# + PATH="/var/www/html/app/Helpers/Collector/GroupCollector.php" \ + && sed -i "s#\'amount\'], \$transaction #\'amount\'], (string)(\$transaction#g" "$PATH" \ + && sed -i "s#\'0\');#\'0\'));#g" "$PATH" ################## # 3 Install apps #