More attempts to get the icon to work properly.
This commit is contained in:
@@ -113,15 +113,17 @@ RUN bash -c 'if [[ -n "$FILE17" ]]; then wget -P "$REPO" "$FILE17"; fi'
|
|||||||
RUN bash -c 'if [[ -n "$FILE18" ]]; then wget -P "$REPO" "$FILE18"; fi'
|
RUN bash -c 'if [[ -n "$FILE18" ]]; then wget -P "$REPO" "$FILE18"; fi'
|
||||||
RUN bash -c 'if [[ -n "$FILE19" ]]; then wget -P "$REPO" "$FILE19"; fi'
|
RUN bash -c 'if [[ -n "$FILE19" ]]; then wget -P "$REPO" "$FILE19"; fi'
|
||||||
|
|
||||||
|
RUN sync
|
||||||
|
|
||||||
# Move any downloaded metadata files to the correct folder.
|
# Move any downloaded metadata files to the correct folder.
|
||||||
RUN cp -v "$REPO"/*.yml "$REPO"/../metadata || \
|
RUN cp -v "$REPO"/*.yml "$REPO"/../metadata || \
|
||||||
echo "No YML file(s) to copy."
|
echo "No YML file(s) to copy." && sleep 5
|
||||||
|
|
||||||
# Move any downloaded icons to the proper folder.
|
# Move any downloaded icons to the proper folder.
|
||||||
RUN mv -v "$REPO"/*.png "$REPO"/icons/ || \
|
RUN mv -v "$REPO"/*.png "$FDROID"/ || \
|
||||||
echo "No PNG file(s) to copy."
|
echo "No PNG file(s) to copy." && sleep 5
|
||||||
|
|
||||||
# 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.
|
||||||
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"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user