File tree 3 files changed +17
-13
lines changed
3 files changed +17
-13
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.649.af5925057
8
+ pkgver=1.1.653.48e2403b3
9
9
pkgrel=1
10
10
pkgdesc=" Git for Windows extra files"
11
11
arch=(' any' )
@@ -19,8 +19,8 @@ install='git-extra.install'
19
19
pkgver () {
20
20
cd " $startdir "
21
21
test ! -f " $( git rev-parse --git-path shallow) " || git -c http.sslbackend fetch --unshallow
22
- rev=" $( git rev-list -1 HEAD -- .) "
23
- test -n " $( git show . |
22
+ rev=" $( git rev-list -1 HEAD -- . ' :(exclude)./git-extra.install ' ) "
23
+ test -n " $( git show . ' :(exclude)./git-extra.install ' |
24
24
sed -n -e ' 1,/^@@/d' -e ' /^[-+]pkgver=/d' -e ' /^[-+]pkgver=/d' -e " /^[-+] *'[0-9a-f]\{64\}'$/d" -e ' /^[-+]/p' ) " ||
25
25
rev=" $( git rev-list -1 $rev ^ -- .) "
26
26
printf " %s.%s.%s" " ${_ver_base} " " $( git rev-list --count $rev -- .) " \
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ 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 -z "$(find /clangarm64 -type f -print -quit)" || # if /clangarm64 exists and contains at least one file
123
+ test -z "$(find /clangarm64 -type f -print -quit 2>/dev/null )" || # if /clangarm64 exists and contains at least one file
124
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
@@ -247,10 +247,12 @@ test -d "$TMPDIR" || test ! -d "$TMP" || {\
247
247
}
248
248
249
249
# Enable color and syntax-highlighting in GNU nano
250
- test ! -f /etc/nanorc ||
251
- grep -q '^set titlecolor' /etc/nanorc ||
252
- sed -i -e '/Paint the interface elements/,/root.s .nanorc/s/^# //' \
253
- -e 's/^# \(include .*nanorc"\)$/\1/' /etc/nanorc
250
+ test ! -f /etc/nanorc || {
251
+ grep -q '^set titlecolor' /etc/nanorc ||
252
+ sed -i '/Paint the interface elements/,/root.s .nanorc/s/^# //' /etc/nanorc
253
+ grep -q '^include .*\*\.nanorc' /etc/nanorc ||
254
+ sed -i 's/^# \(include .*\*\.nanorc"\?\)$/\1/' /etc/nanorc
255
+ }
254
256
255
257
# Do not require /usr/bin/cmd in /usr/bin/start
256
258
grep -q '^"\$COMSPEC" ' /usr/bin/start ||
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ 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 -z "$(find /clangarm64 -type f -print -quit)" || # if /clangarm64 exists and contains at least one file
89
+ test -z "$(find /clangarm64 -type f -print -quit 2>/dev/null )" || # if /clangarm64 exists and contains at least one file
90
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
@@ -213,10 +213,12 @@ test -d "$TMPDIR" || test ! -d "$TMP" || {\
213
213
}
214
214
215
215
# Enable color and syntax-highlighting in GNU nano
216
- test ! -f /etc/nanorc ||
217
- grep -q '^set titlecolor' /etc/nanorc ||
218
- sed -i -e '/Paint the interface elements/,/root.s .nanorc/s/^# //' \
219
- -e 's/^# \(include .*nanorc"\)$/\1/' /etc/nanorc
216
+ test ! -f /etc/nanorc || {
217
+ grep -q '^set titlecolor' /etc/nanorc ||
218
+ sed -i '/Paint the interface elements/,/root.s .nanorc/s/^# //' /etc/nanorc
219
+ grep -q '^include .*\*\.nanorc' /etc/nanorc ||
220
+ sed -i 's/^# \(include .*\*\.nanorc"\?\)$/\1/' /etc/nanorc
221
+ }
220
222
221
223
# Do not require /usr/bin/cmd in /usr/bin/start
222
224
grep -q '^"\$COMSPEC" ' /usr/bin/start ||
You can’t perform that action at this time.
0 commit comments