mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-08-07 21:58:30 +02:00
Adjust install prompt
Now reads: "Install to $prefix? [y/N]" to indicate that the default choice if pressing enter without any extra input will be no. Suggested by #169.
This commit is contained in:
@@ -33,7 +33,7 @@ ninja
|
|||||||
# Verify user wants to install
|
# Verify user wants to install
|
||||||
set +x
|
set +x
|
||||||
if [ "$TRAVIS" != "true" ]; then
|
if [ "$TRAVIS" != "true" ]; then
|
||||||
read -p "Install to $prefix? [Yy] " -r
|
read -p "Install to $prefix? [y/N] " -r
|
||||||
[[ $REPLY =~ ^[Yy]$ ]]
|
[[ $REPLY =~ ^[Yy]$ ]]
|
||||||
fi
|
fi
|
||||||
set -x
|
set -x
|
||||||
|
Reference in New Issue
Block a user