Browse Source

Even if msys64 is created, force upgrade before running emacs-build

tmp/comercial-emacs
Juan Jose Garcia-Ripoll 4 years ago
parent
commit
4df1c4cbfb
  1. 12
      scripts/setup-msys2.ps1

12
scripts/setup-msys2.ps1

@ -38,10 +38,10 @@ if ( !(Test-Path ${msys2_dir}\msys2_shell.cmd) ) {
.\scripts\msys2.cmd -c 'sed -i "s/^CheckSpace/#CheckSpace/g" /etc/pacman.conf'
# Kill remaining tasks
taskkill /f /fi 'MODULES EQ msys-2.0.dll'
# Final upgrade
echo "Final upgrade"
.\scripts\msys2.cmd -c 'pacman --noprogressbar --noconfirm -Syuu'
# Install packages required by emacs-build
echo "Install essential packages"
.\scripts\msys2.cmd -c 'pacman --noprogressbar --noconfirm -S git unzip zip base-devel mingw-w64-x86_64-toolchain'
}
# Final upgrade
echo "Final upgrade"
.\scripts\msys2.cmd -c 'pacman --noprogressbar --noconfirm -Syuu'
# Install packages required by emacs-build
echo "Install essential packages"
.\scripts\msys2.cmd -c 'pacman --noprogressbar --needed --noconfirm -S git unzip zip base-devel mingw-w64-x86_64-toolchain'

Loading…
Cancel
Save