Changed read -p
to read -rp
This commit is contained in:
parent
d42669b417
commit
383a5c77ef
@ -19,7 +19,7 @@ echo -e "\e[93m----------------------SELECTION-----------------------------\e[0m
|
|||||||
sudo eselect kernel list
|
sudo eselect kernel list
|
||||||
echo
|
echo
|
||||||
echo
|
echo
|
||||||
read -p "New kernel is: " KERVER
|
read -rp "New kernel is: " KERVER
|
||||||
echo
|
echo
|
||||||
echo -e "Your kernel now is \e[91m$(uname -sr)\e[0m"
|
echo -e "Your kernel now is \e[91m$(uname -sr)\e[0m"
|
||||||
echo -e "Your selected kernel is \e[91m"$KERVER"\e[0m"
|
echo -e "Your selected kernel is \e[91m"$KERVER"\e[0m"
|
||||||
@ -29,7 +29,7 @@ echo
|
|||||||
}
|
}
|
||||||
|
|
||||||
function compilation() {
|
function compilation() {
|
||||||
read -p "Do you want to accept and compile (Y/N): " agreed
|
read -rp "Do you want to accept and compile (Y/N): " agreed
|
||||||
echo
|
echo
|
||||||
if [ "$agreed" == "y" ] || [ "$agreed" == "Y" ]
|
if [ "$agreed" == "y" ] || [ "$agreed" == "Y" ]
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user