Commit 9f14d22

Ansari <ansari_official@yahoo.com>
2025-07-21 22:21:33
swtching upgrade step to no spinner - cause issue libcpre2
1 parent 6a1337a
Changed files (1)
termux-vscode.sh
@@ -68,7 +68,9 @@ main(){
     setup_cleanup_trap cleanup
 
     run_step "pkg update -y" "Updating package list"
-    run_step "yes '' | pkg upgrade -y" "Upgrading packages"
+    log_info "Upgrading packages"
+    yes " " | pkg upgrade -y > /dev/null 2>&1
+    current_step=$((current_step + 1))
     run_step "pkg install tur-repo -y" "Installing tur-repo"
     run_step "pkg install code-server git python3 -y" "Installing code-server, git, and python3"
     run_step "setup_config" "Setting up code-server configuration"