diff --git a/Scripts/fetch-repos.ps1 b/Scripts/fetch-repos.ps1 index bfa6f758..ac210ce6 100755 --- a/Scripts/fetch-repos.ps1 +++ b/Scripts/fetch-repos.ps1 @@ -29,7 +29,7 @@ try { [int]$Step = 1 foreach ($Folder in $Folders) { $FolderName = (get-item "$Folder").Name - "👉 Step $Step/$($FolderCount): Fetching 📂$FolderName..." + "⏳ Step $Step/$($FolderCount): Fetching 📂$FolderName..." & git -C "$Folder" fetch --all --recurse-submodules --prune --prune-tags --jobs=4 if ($lastExitCode -ne "0") { throw "'git fetch' failed" } diff --git a/Scripts/install-updates.ps1 b/Scripts/install-updates.ps1 index 6e4de888..7b3e7c34 100755 --- a/Scripts/install-updates.ps1 +++ b/Scripts/install-updates.ps1 @@ -21,10 +21,10 @@ try { & sudo apt update "⏳ Step 2/4: Upgrading installed Debian packages..." - & sudo apt upgrade -y + & sudo apt upgrade --yes "⏳ Step 3/4: Removing obsolete Debian packages..." - & sudo apt autoremove + & sudo apt autoremove --yes "⏳ Step 4/4: Upgrading installed Snap packages..." & sudo snap refresh diff --git a/Scripts/pull-repos.ps1 b/Scripts/pull-repos.ps1 index 88c0d716..c3bb97fa 100755 --- a/Scripts/pull-repos.ps1 +++ b/Scripts/pull-repos.ps1 @@ -1,5 +1,4 @@ -<# -.SYNOPSIS + pull-repos.ps1 [] .DESCRIPTION Pulls updates for all Git repositories under the current/given directory (including submodules) @@ -29,7 +28,7 @@ try { [int]$Step = 1 foreach ($Folder in $Folders) { $FolderName = (get-item "$Folder").Name - "👉 Step $Step/$($FolderCount): Pulling 📂$FolderName..." + "⏳ Step $Step/$($FolderCount): Pulling 📂$FolderName..." & git -C "$Folder" pull --recurse-submodules --jobs=4 if ($lastExitCode -ne "0") { write-warning "'git pull' on 📂$FolderName failed" }