commit e7bb12a18f1380d43ef74a5a8f26d84d8b1bd85f
parent f617db31be4e553bf588eee355d3a0039dc523ee
Author: Matthew Gantenbein <ganten1998@gmail.com>
Date: Mon, 1 Jun 2026 14:06:26 -0500
fix: install-driver.sh accepts Y/yes, not just lowercase y
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/install-driver.sh b/scripts/install-driver.sh
@@ -21,7 +21,7 @@ echo " driver: $DRIVER"
echo " dest: $HAL/Hydra.driver"
echo " manifest: $MANIFEST_DIR/devices.json (world-readable; coreaudiod reads it)"
read -r -p "Continue? [y/N] " ans
-[ "$ans" = "y" ] || { echo "aborted."; exit 0; }
+case "$ans" in [yY]|[yY][eE][sS]) ;; *) echo "aborted."; exit 0 ;; esac
echo "• installing driver"
sudo rm -rf "$HAL/Hydra.driver"