Skip to content

Commit 7766f3c

Browse files
committed
ensure-not-yet-deployed: use the new Pacman repository's URL
A while ago I started the migration from the old Pacman repository (which was hosted in my personal Azure account) to the new one (which is hosted in a Git repository on GitHub). For the transition period, it was okay to use the old URL to see whether a package is already deployed or not, as the package files are deployed to both old and new Pacman repository. However, in preparation for retiring the old Pacman repository, we need to use the new URL consistently throughout Git for Windows' automation. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent bccdffb commit 7766f3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

update-scripts/ensure-not-yet-deployed.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ esac &&
6262

6363
subdir="${architecture:-$arch}" &&
6464
case "$subdir" in
65-
any|x86_64) subdir=x86-64;;
65+
any) subdir=x86_64;;
6666
esac &&
6767

6868
case "$pkgname" in
@@ -75,7 +75,7 @@ esac &&
7575
# repository. Error out if it was.
7676

7777
file="$pkgname-${epoch:+$epoch~}$pkgver-$pkgrel-$arch.pkg.tar.xz" &&
78-
url="https://wingit.blob.core.windows.net/$subdir/$file" &&
78+
url="https://github.com/git-for-windows/pacman-repo/blob/$subdir/$file" &&
7979
echo "Looking at URL '$url'" >&2 &&
8080
if curl -sfI "$url"
8181
then

0 commit comments

Comments
 (0)