Skip to content

Commit

Permalink
Install bc in WSL as well
Browse files Browse the repository at this point in the history
  • Loading branch information
mrrfv authored Feb 26, 2024
1 parent 17ea411 commit 463c565
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backup-windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ wsl --shutdown
wsl sudo apt update
wsl sudo apt dist-upgrade -y
Write-Output "Installing dependencies and setting up environment..."
wsl sudo apt install p7zip-full secure-delete whiptail curl dos2unix pv kdialog '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev -y
wsl sudo apt install p7zip-full secure-delete whiptail curl dos2unix pv bc kdialog '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev -y
Write-Output "Converting files - this may take several minutes..."
wsl bash -c "sudo find ./ -name '*.sh' -type f -print0 | sudo xargs -0 dos2unix --"
Clear-Host
Expand All @@ -22,4 +22,4 @@ pause
Clear-Host
wsl ./windows-dependencies/env-startup.sh
Write-Output Exiting.
pause
pause

0 comments on commit 463c565

Please sign in to comment.