From 2ebf6704e1a9206c3238c1649ec9f6eef20adf0e Mon Sep 17 00:00:00 2001 From: Stu Leak Date: Tue, 30 Dec 2025 21:11:06 -0500 Subject: [PATCH] Auto-install missing dependencies without additional prompt Previously, install.sh would: 1. Ask "Install DVD authoring tools?" 2. Then ask again "Install missing dependencies now?" Now it automatically installs any missing dependencies after the user confirms they want DVD tools, eliminating the redundant prompt. Changes: - Removed second confirmation prompt for dependency installation - Automatically installs missing deps when detected - Shows clear message: "Missing dependencies: ... Installing..." --- scripts/install.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/scripts/install.sh b/scripts/install.sh index 77571ca..8264a0e 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -175,11 +175,9 @@ else install_deps=false if [ ${#missing_deps[@]} -gt 0 ]; then - echo -e "${YELLOW}WARNING${NC} Missing dependencies: ${missing_deps[*]}" - read -p "Install missing dependencies now? [y/N]: " install_choice - if [[ "$install_choice" =~ ^[Yy]$ ]]; then - install_deps=true - fi + echo -e "${YELLOW}⚠${NC} Missing dependencies: ${missing_deps[*]}" + echo "Installing missing dependencies..." + install_deps=true else echo -e "${GREEN}✓${NC} All authoring dependencies found" fi