File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ pkgbase="mingw-w64-${_realname}"
5
5
pkgname=($_realname
6
6
" ${MINGW_PACKAGE_PREFIX} -${_realname} " )
7
7
_ver_base=1.1
8
- pkgver=1.1.628.f599c8ce7
8
+ pkgver=1.1.630.257a670d3
9
9
pkgrel=1
10
10
pkgdesc=" Git for Windows extra files"
11
11
arch=(' any' )
Original file line number Diff line number Diff line change @@ -120,8 +120,8 @@ GITATTRIBUTES
120
120
grep -q "$otherpacman" etc/pacman.conf ||
121
121
sed -i -e '/^\[mingw32\]/i['$otherpacman']\nServer = https://wingit.blob.core.windows.net/'$otherarch'\n' etc/pacman.conf
122
122
123
- test ! -d /clangarm64 ||
124
- grep -q "git-for-windows-aarch64" etc/pacman.conf ||
123
+ test -z "$(find /clangarm64 -type f -print -quit) || # if /clangarm64 exists and contains at least one file
124
+ grep -q "git-for-windows-aarch64" etc/pacman.conf || # then add Git for Windows' aarch64 repository (unless it's already added)
125
125
sed -i -e '/^\[clangarm64]/i[git-for-windows-aarch64]\nServer = https://wingit.blob.core.windows.net/aarch64\n' etc/pacman.conf
126
126
127
127
! grep -q 'https://dl.bintray.com/\$repo/pacman/\$arch' etc/pacman.conf ||
Original file line number Diff line number Diff line change @@ -86,8 +86,8 @@ GITATTRIBUTES
86
86
grep -q "$otherpacman" etc/pacman.conf ||
87
87
sed -i -e '/^\[mingw32\]/i['$otherpacman']\nServer = https://wingit.blob.core.windows.net/'$otherarch'\n' etc/pacman.conf
88
88
89
- test ! -d /clangarm64 ||
90
- grep -q "git-for-windows-aarch64" etc/pacman.conf ||
89
+ test -z "$(find /clangarm64 -type f -print -quit) || # if /clangarm64 exists and contains at least one file
90
+ grep -q "git-for-windows-aarch64" etc/pacman.conf || # then add Git for Windows' aarch64 repository (unless it's already added)
91
91
sed -i -e '/^\[clangarm64]/i[git-for-windows-aarch64]\nServer = https://wingit.blob.core.windows.net/aarch64\n' etc/pacman.conf
92
92
93
93
! grep -q 'https://dl.bintray.com/\$repo/pacman/\$arch' etc/pacman.conf ||
You can’t perform that action at this time.
0 commit comments