Add uninstall confirm default input

This commit is contained in:
Teddysun 2014-05-30 11:22:33 +08:00
parent 8b6b1a6165
commit c184f81883
3 changed files with 3 additions and 3 deletions

View File

@ -163,7 +163,7 @@ function install(){
# Uninstall Shadowsocks-libev
function uninstall_shadowsocks_libev(){
printf "Are you sure uninstall Shadowsocks-libev? (y/n) : "
printf "Are you sure uninstall Shadowsocks-libev? (y/n) "
printf "\n"
read -p "(Default: n):" answer
if [ -z $answer ]; then

View File

@ -177,7 +177,7 @@ function install(){
# Uninstall Shadowsocks-libev
function uninstall_shadowsocks_libev(){
printf "Are you sure uninstall shadowsocks_libev? (y/n) : "
printf "Are you sure uninstall shadowsocks_libev? (y/n) "
printf "\n"
read -p "(Default: n):" answer
if [ -z $answer ]; then

View File

@ -189,7 +189,7 @@ function install(){
# Uninstall Shadowsocks-nodejs
function uninstall_shadowsocks_nodejs(){
printf "Are you sure uninstall Shadowsocks-nodejs? (y/n) : "
printf "Are you sure uninstall Shadowsocks-nodejs? (y/n) "
printf "\n"
read -p "(Default: n):" answer
if [ -z $answer ]; then