mirror of
https://github.com/spirit-x64/scripts.git
synced 2024-11-24 00:43:10 +03:00
make curl show errors and fail
This commit is contained in:
parent
2182308c1b
commit
3d47dc1fb7
@ -11,16 +11,16 @@ mkdir .void-on-WSL2.temp
|
|||||||
cd .void-on-WSL2.temp
|
cd .void-on-WSL2.temp
|
||||||
|
|
||||||
echo downloading 7zr.exe...
|
echo downloading 7zr.exe...
|
||||||
curl.exe -Ls --remote-name --remove-on-error https://7-zip.org/a/7zr.exe
|
curl.exe -LSfs --remote-name --remove-on-error https://7-zip.org/a/7zr.exe
|
||||||
echo downloading void-x86_64-ROOTFS...
|
echo downloading void-x86_64-ROOTFS...
|
||||||
curl.exe -Ls --remote-name --remove-on-error https://repo-default.voidlinux.org/live/current/void-x86_64-ROOTFS-20240314.tar.xz
|
curl.exe -Lsfs --remote-name --remove-on-error https://repo-default.voidlinux.org/live/current/void-x86_64-ROOTFS-20240314.tar.xz
|
||||||
7zr.exe x void-x86_64-ROOTFS-20240314.tar.xz -oextracted
|
7zr.exe x void-x86_64-ROOTFS-20240314.tar.xz -oextracted
|
||||||
|
|
||||||
wsl.exe --import %DISTRONAME% %STORAGEPATH% extracted\void-x86_64-ROOTFS-20240314.tar
|
wsl.exe --import %DISTRONAME% %STORAGEPATH% extracted\void-x86_64-ROOTFS-20240314.tar
|
||||||
|
|
||||||
echo downloading init-void.sh and setup-void.sh...
|
echo downloading init-void.sh and setup-void.sh...
|
||||||
curl.exe -Ls --remote-name --remove-on-error https://raw.githubusercontent.com/spirit-x64/scripts/main/init-void.sh
|
curl.exe -Lsfs --remote-name --remove-on-error https://raw.githubusercontent.com/spirit-x64/scripts/main/init-void.sh
|
||||||
curl.exe -Ls --remote-name --remove-on-error https://raw.githubusercontent.com/spirit-x64/scripts/main/setup-void.sh
|
curl.exe -Lsfs --remote-name --remove-on-error https://raw.githubusercontent.com/spirit-x64/scripts/main/setup-void.sh
|
||||||
|
|
||||||
wsl -d %DISTRONAME% -e sh -c "USERNAME=%USER% ./init-void.sh --wsl"
|
wsl -d %DISTRONAME% -e sh -c "USERNAME=%USER% ./init-void.sh --wsl"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user