commit 908a596c03bdd2265b251f7efc92e94b002fe4fe
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Sep 10 16:00:54 2020 +0100
Add failed and updates
Adding failed to detect broken appdata in packages.
Add updates to stable releases so any fixed packages are included.
update-appdata-rpmfusion-free.sh | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/update-appdata-rpmfusion-free.sh b/update-appdata-rpmfusion-free.sh
index 70956c0..b189fea 100755
--- a/update-appdata-rpmfusion-free.sh
+++ b/update-appdata-rpmfusion-free.sh
@@ -1,6 +1,7 @@
#!/bin/bash
RELEASE=""
URL=""
+#URL1=""
main ()
{
@@ -13,15 +14,23 @@ main ()
URL="rsync://rsync.mirrorservice.org/download1.rpmfusion.org/free/fe...
elif [ "$RELEASE" = "32" ]; then
URL="rsync://rsync.mirrorservice.org/download1.rpmfusion.org/free/fe...
+
#URL1="rsync://rsync.mirrorservice.org/download1.rpmfusion.org/free/fedora/updates/32/x86_64/*"
elif [ "$RELEASE" = "31" ]; then
URL="rsync://rsync.mirrorservice.org/download1.rpmfusion.org/free/fe...
+
#URL1="rsync://rsync.mirrorservice.org/download1.rpmfusion.org/free/fedora/updates/31/x86_64/*"
fi
rsync -avPh "$URL" .
+# rsync -avPh --exclude debug "$URL1" ./Packages/
+
rm -rf repo*
+# rm -rf Packages/repo*
+# createrepo -d Packages/
+# repomanage -o --space ./Packages/ | xargs rm
+# rm -rf Packages/repo*
#
- appstream-builder --verbose --max-threads=6 --log-dir=./logs/ \
+ appstream-builder --verbose --include-failed --max-threads=6 --log-dir=./logs/ \
--packages-dir=./Packages/ --temp-dir=./tmp/ --output-dir=./appstream-data/ \
--basename="rpmfusion-free-$RELEASE"
--origin="rpmfusion-free-$RELEASE" \
--enable-hidpi