Change conditional to be sh-compatible, not bash.

This commit is contained in:
2026-07-04 08:09:25 -07:00
parent 64dbf0c97b
commit cf032507f8
+1 -1
View File
@@ -122,7 +122,7 @@ RUN mv -v "$REPO"/"$REPO_ICON" "$REPO"/icons/ || \
echo "No PNG files to copy." echo "No PNG files to copy."
# If the icon variable is set, add it to the config file before updating again. # If the icon variable is set, add it to the config file before updating again.
RUN [[ ! -z "$REPO_ICON" ]] && \ RUN [ ! -z "$REPO_ICON" ] && \
sed -i "$ a repo_icon: $REPO_ICON" "$FDROID/config.yml" sed -i "$ a repo_icon: $REPO_ICON" "$FDROID/config.yml"
RUN fdroid update -c RUN fdroid update -c