commit 4fbb6f8331146255d5c3e88b0a4d67c0e67f90c2
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Sat Sep 26 14:00:20 2020 +0100
Use dl1 for rsync URL and add delete option
update-appdata-rpmfusion-nonfree.sh | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/update-appdata-rpmfusion-nonfree.sh b/update-appdata-rpmfusion-nonfree.sh
index bf9c899..77e4c59 100755
--- a/update-appdata-rpmfusion-nonfree.sh
+++ b/update-appdata-rpmfusion-nonfree.sh
@@ -9,20 +9,20 @@ main ()
cd rpmfusion-nonfree || exit -1
#
if [ "$RELEASE" = "34" ]; then
-
URL="rsync://rsync.mirrorservice.org/download1.rpmfusion.org/nonfree...
+
URL="rsync://download1.rpmfusion.org/rpmfusion/nonfree/fedora/develo...
elif [ "$RELEASE" = "33" ]; then
-
URL="rsync://rsync.mirrorservice.org/download1.rpmfusion.org/nonfree...
+
URL="rsync://download1.rpmfusion.org/rpmfusion/nonfree/fedora/develo...
elif [ "$RELEASE" = "32" ]; then
-
URL="rsync://rsync.mirrorservice.org/download1.rpmfusion.org/nonfree...
-
#URL1="rsync://rsync.mirrorservice.org/download1.rpmfusion.org/nonfree/fedora/updates/32/x86_64/*"
+
URL="rsync://download1.rpmfusion.org/rpmfusion/nonfree/fedora/develo...
+
#URL1="rsync://download1.rpmfusion.org/rpmfusion/nonfree/fedora/updates/32/x86_64/*"
elif [ "$RELEASE" = "31" ]; then
-
URL="rsync://rsync.mirrorservice.org/download1.rpmfusion.org/nonfree...
-
#URL1="rsync://rsync.mirrorservice.org/download1.rpmfusion.org/nonfree/fedora/updates/31/x86_64/*"
+
URL="rsync://download1.rpmfusion.org/rpmfusion/nonfree/fedora/releas...
+
#URL1="rsync://download1.rpmfusion.org/rpmfusion/nonfree/fedora/updates/31/x86_64/*"
fi
- rsync -avPh "$URL" .
-# rsync -avPh --exclude debug "$URL1" ./Packages/
+ rsync -avPh --delete "$URL" .
+# rsync -avPh --delete --exclude debug "$URL1" ./Packages/
rm -rf repo*
# rm -rf Packages/repo*