File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -24,19 +24,19 @@ busybox tar -Jxvf msys2-x86_64-latest.tar.xz
24
24
%sh% -lc " pacman-key --init && exit" 2 >& 1 | busybox tee -a init.log
25
25
26
26
:Chi_Mirror
27
- for %%i in ( mirrorlist.mingw32 mirrorlist.mingw64 mirrorlist.msys) do if exist %%i copy /y %%i msys64\etc\pacman.d\
27
+ for %%i in (mirrorlist.mingw32 mirrorlist.mingw64 mirrorlist.msys) do if exist %%i copy /y %%i msys64\etc\pacman.d\
28
28
29
29
:Update
30
- %pacman% -Syyuu --needed --noconfirm 2 >& 1 | busybox tee -a update.log
31
- %pacman% -Suu --needed --noconfirm 2 >& 1 | busybox tee -a update.log
30
+ %pacman% -Syyuu --needed --noconfirm --ask= 20 2 >& 1 | busybox tee -a update.log
31
+ %pacman% -Suu --needed --noconfirm --ask= 20 2 >& 1 | busybox tee -a update.log
32
32
33
33
:Install
34
34
%pacman% -S --needed --noconfirm base-devel zlib-devel sqlite git unzip zip tar gmp gmp-devel libssh2 libssh2-devel openssl-devel 2 >& 1 | busybox tee -a install.log
35
35
%pacman% -Sc --noconfirm 2 >& 1 | busybox tee -a install.log
36
36
37
37
:Clone
38
- %sh% -lc " if [[ -d ~/aria2 ]]; then cd aria2; git pull; else git clone https://gist. github.com/a780c730b7282e090f238e8286f815f3 .git aria2; cd aria2; git pull; fi" 2 >& 1 | busybox tee -a clone.log
38
+ %sh% -lc " if [[ -d ~/aria2 ]]; then cd aria2; git pull; else git clone https://github.com/myfreeer/aria2-build-msys2 .git aria2; cd aria2; git pull; fi" 2 >& 1 | busybox tee -a clone.log
39
39
40
40
:Build
41
41
%sh% -lc " cd ~/aria2 && exec ./build-aria2.sh" 2 >& 1 | busybox tee -a build.log
42
- pause
42
+ pause
You can’t perform that action at this time.
0 commit comments