Updater bot : fireflyiii updated to 5.7.18

This commit is contained in:
alexbelgium
2023-01-07 01:57:09 +01:00
parent 7535e7aaf0
commit d6c368d98c
4 changed files with 8 additions and 5 deletions

View File

@@ -33,12 +33,12 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
# # Change data location
# grep -rl "/var/www/html" /etc/ | xargs sed -i 's|/var/www/html|/data/firefly|g'
ARG BUILD_UPSTREAM="5.7.17"
ARG BUILD_UPSTREAM="5.7.18"
RUN \
#################
# Fix for 5.7.5 #
#################
if [ "$BUILD_UPSTREAM" = "5.7.17" ] ; then \
if [ "$BUILD_UPSTREAM" = "5.7.18" ] ; then \
sed -i "s|, \$transaction\[\x27amount\x27\] ?? \x270\x27);|, (string)(\$transaction\[\x27amount\x27\] ?? \x270\x27));|g" /var/www/html/app/Helpers/Collector/GroupCollector.php; else echo "not 5.7.5"; fi
RUN \
# Change upload folder to "ha_upload" since the default one is binded to a volume (see base image)