From a854dc9664eafc7770840f8966c8fc05d415cfae Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sat, 4 Jul 2026 08:01:45 -0700 Subject: [PATCH] Attempt to streamline the fdroid repo build process a bit better. --- Config/F-DroidRepo/Dockerfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Config/F-DroidRepo/Dockerfile b/Config/F-DroidRepo/Dockerfile index 4cfbeb5..59a5afe 100644 --- a/Config/F-DroidRepo/Dockerfile +++ b/Config/F-DroidRepo/Dockerfile @@ -44,7 +44,7 @@ ENV REPO_ICON="$REPO_ICON" RUN sed -i "$ a repo_url: $REPO_DOMAIN/fdroid/repo" "$FDROID/config.yml" RUN sed -i "$ a repo_name: $REPO_NAME" "$FDROID/config.yml" -RUN fdroid update +#RUN fdroid update # Advanced Variables # @@ -114,13 +114,16 @@ RUN bash -c 'if [[ -n "$FILE18" ]]; then wget -P "$REPO" "$FILE18"; fi' RUN bash -c 'if [[ -n "$FILE19" ]]; then wget -P "$REPO" "$FILE19"; fi' # 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 files to copy." # Move any downloaded icons to the proper folder. -RUN cp -v "$REPO"/*.png "$REPO"/icons/ +RUN cp -v "$REPO"/*.png "$REPO"/icons/ || \ + echo "No PNG files to copy." # If the icon variable is set, add it to the config file before updating again. -RUN [[ ! -z "$REPO_ICON" ]] && sed -i "$ a repo_icon: $REPO_ICON" "$FDROID/config.yml" +RUN [[ ! -z "$REPO_ICON" ]] && \ + sed -i "$ a repo_icon: $REPO_ICON" "$FDROID/config.yml" RUN fdroid update -c