Skip to content

Commit

Permalink
init-msys2.bat: fix catgets conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
myfreeer committed Feb 20, 2018
1 parent b1ff85d commit c5d4264
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions init-msys2.bat
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@ busybox tar -Jxvf msys2-x86_64-latest.tar.xz
%sh% -lc "pacman-key --init && exit" 2>&1 | busybox tee -a init.log

:Chi_Mirror
for %%i in ( mirrorlist.mingw32 mirrorlist.mingw64 mirrorlist.msys) do if exist %%i copy /y %%i msys64\etc\pacman.d\
for %%i in (mirrorlist.mingw32 mirrorlist.mingw64 mirrorlist.msys) do if exist %%i copy /y %%i msys64\etc\pacman.d\

:Update
%pacman% -Syyuu --needed --noconfirm 2>&1 | busybox tee -a update.log
%pacman% -Suu --needed --noconfirm 2>&1 | busybox tee -a update.log
%pacman% -Syyuu --needed --noconfirm --ask=20 2>&1 | busybox tee -a update.log
%pacman% -Suu --needed --noconfirm --ask=20 2>&1 | busybox tee -a update.log

:Install
%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
%pacman% -Sc --noconfirm 2>&1 | busybox tee -a install.log

:Clone
%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
%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

:Build
%sh% -lc "cd ~/aria2 && exec ./build-aria2.sh" 2>&1 | busybox tee -a build.log
pause
pause

0 comments on commit c5d4264

Please sign in to comment.