diff --git a/scripts/setup b/scripts/setup index 64c7e5682..5fa386188 100755 --- a/scripts/setup +++ b/scripts/setup @@ -81,7 +81,7 @@ if [ ${#missing[@]} -gt 0 ]; then $_sudo apt install -y "${missing[@]}" else echo -n "Install [y]/n? " >&2 - answer=$(read) + read answer if [ "$answer" == "y" -o -z "$answer" ]; then $_sudo apt update $_sudo apt install "${missing[@]}"