mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
@@ -16,7 +16,7 @@
|
||||
|
||||
ARG BUILD_FROM
|
||||
ARG BUILD_VERSION
|
||||
ARG BUILD_UPSTREAM="5.7.5"
|
||||
ENV BUILD_UPSTREAM="5.7.5"
|
||||
FROM fireflyiii/core:latest
|
||||
|
||||
##################
|
||||
@@ -33,8 +33,9 @@ RUN \
|
||||
#################
|
||||
# Fix for 5.7.5 #
|
||||
#################
|
||||
if [[ "$BUILD_UPSTREAM" == "5.7.5" ]] ; then \
|
||||
sed -i "s#'amount'], \$transaction #'amount'], (string)(\$transaction#g" /var/www/html/app/Helpers/Collector/GroupCollector.php \
|
||||
&& sed -i "s#'0');#'0'));#g" /var/www/html/app/Helpers/Collector/GroupCollector.php
|
||||
&& sed -i "s#'0');#'0'));#g" /var/www/html/app/Helpers/Collector/GroupCollector.php; fi
|
||||
|
||||
##################
|
||||
# 3 Install apps #
|
||||
|
||||
Reference in New Issue
Block a user