Commit 2ad7207 1 parent e48133e commit 2ad7207 Copy full SHA for 2ad7207
File tree 3 files changed +9
-2
lines changed
3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ sha256sums=('e6a17a669fe8282792b3d98a2c47718425364a0ca9a456bdbad4a69c57ec6978'
60
60
' 2dba0f5f8133b8e8d1da8291efec140cd516e385f04b33b95e4f97fc40f628b3'
61
61
' f4e310c00721f8834949268167b0584b7c9323775a318574dbca960af10d7998'
62
62
' 89b4d784e1c07d67c11a35abc7094709c216372e2099b2eb7abbc6eb7c34861f'
63
- ' 33a49036a52442a9754240e67abeb9dc2f686e8e25e5f70d522d78a150085e0a ' )
63
+ ' 31edcc287caf295e30c481fbcecc29220114eb07367da497eb509ba675c09e9c ' )
64
64
65
65
prepare () {
66
66
test $startdir /$pkgname .install -nt $startdir /$pkgname .install.in &&
Original file line number Diff line number Diff line change 5
5
# when confirmation to do so is given.
6
6
7
7
git_update () {
8
+ proxy=$( git config --get http.proxy)
9
+ if test " $proxy " ! = " "
10
+ then
11
+ export https_proxy=" http://$proxy "
12
+ echo " Using proxy server $https_proxy detected from git http.proxy"
13
+ fi
14
+
8
15
yn=
9
16
while test $# -gt 0
10
17
do
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ Name: consolefont; Description: Use a TrueType font in all console windows
103
103
Filename : {app} \git-bash.exe; Parameters : --cd-to -home; Description : Launch Git Bash; Flags : nowait postinstall skipifsilent runasoriginaluser unchecked
104
104
Filename : {app} \ReleaseNotes.html; Description : View Release Notes; Flags : shellexec skipifdoesntexist postinstall skipifsilent
105
105
Filename : " schtasks" ; \
106
- Description : Daily check for available update; \
106
+ Description : Daily check for available update using git http.proxy if defined ; \
107
107
Parameters : " /Create /F /SC DAILY /TN " " Git for Windows Updater" " /TR " " '{app} \bin\git.exe' update" " " ; \
108
108
Flags : runhidden postinstall
109
109
You can’t perform that action at this time.
0 commit comments