diff --git a/Config/F-DroidRepo/Dockerfile b/Config/F-DroidRepo/Dockerfile index 90733de..05900d9 100644 --- a/Config/F-DroidRepo/Dockerfile +++ b/Config/F-DroidRepo/Dockerfile @@ -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 "$FILE19" ]]; then wget -P "$REPO" "$FILE19"; fi' +RUN sync + # Move any downloaded metadata files to the correct folder. 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. -RUN mv -v "$REPO"/*.png "$REPO"/icons/ || \ - echo "No PNG file(s) to copy." +RUN mv -v "$REPO"/*.png "$FDROID"/ || \ + 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" ] && \ sed -i "$ a repo_icon: $REPO_ICON" "$FDROID/config.yml"