need to mirror additional newkey repos for f8 and f9
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 11 Sep 2008 15:06:36 +0000 (15:06 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 11 Sep 2008 15:06:36 +0000 (15:06 +0000)
vbuild-fedora-mirror.sh

index feb511d..c67bc5b 100755 (executable)
@@ -89,9 +89,13 @@ function mirror_distro_arch () {
                    paths="$paths core/updates/$distroindex/$arch/ extras/$distroindex/$arch/"
                    RES=0
                    ;;
-               [7-9])
+               7|8|9)
                    [ -z "$skip_core" ] && paths="releases/$distroindex/Everything/$arch/os/"
                    paths="$paths updates/$distroindex/$arch/"
+                   # f8 and f9 have the additional newkey repo
+                   case $distroindex in 
+                       8|9) paths="$paths updates/$distroindex/${arch}.newkey/" ;;
+                   esac
                    RES=0
                    ;;
            esac