Skip to content

Commit 83df88d

Browse files
committed
fixes for windows 10
1 parent df0785d commit 83df88d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

vendor/bin/install_pacman.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
# Always review and understand scripts from external sources prior to execution.
1515

1616
export bin_source=${1:-https://github.com/daxgames/pacman-for-git/raw/refs/heads/main}
17+
export HOME=$(cygpath -u "$USERPROFILE")
18+
echo "Using binary source: $bin_source"
19+
echo "Using HOME directory: $HOME"
1720

1821
if [[ "$HOSTTYPE" == "i686" ]]; then
1922
pacman=(
@@ -87,7 +90,7 @@ mkdir -p /var/lib/pacman
8790
ln -sf "$(which gettext)" /usr/bin/
8891
pacman-key --init
8992
pacman-key --populate msys2
90-
pacman -Syu --noconfirm
93+
pacman -Syu --noconfirm --disable-download-timeout
9194
echo -e "\n=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n"
9295

9396
echo =-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

0 commit comments

Comments
 (0)