mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-06 23:57:22 +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:
parent
509ae3593a
commit
30ae8d71f0
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user