msys2-installer: Fix script.

This commit is contained in:
Alexpux
2015-02-25 21:24:37 +03:00
parent e480cdc420
commit 607a3ac742

View File

@@ -111,8 +111,8 @@ create_chroot_system() {
mkdir -p var/log
mkdir -p tmp
pacman -Syu --rootrebase "${_newmsys}"
pacman -S base --noconfirm --rootrebase "${_newmsys}"
pacman -Syu --root "${_newmsys}"
pacman -S base --noconfirm --root "${_newmsys}"
_result=$?
if [ "$_result" -ne "0" ]; then
exit_cleanly "1" "failed to create newmsys2 via command 'pacman -S base --noconfirm --root ${_newmsys}'"