Change conditional to be sh-compatible, not bash.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user