mirror of
https://github.com/itdoginfo/podkop.git
synced 2025-12-13 06:56:54 +03:00
Fix case
This commit is contained in:
15
install.sh
15
install.sh
@@ -34,7 +34,6 @@ if [ -f "/etc/init.d/podkop" ]; then
|
||||
while true; do
|
||||
read -r -p '' UPDATE
|
||||
case $UPDATE in
|
||||
|
||||
y)
|
||||
echo "Upgraded podkop..."
|
||||
break
|
||||
@@ -44,6 +43,10 @@ if [ -f "/etc/init.d/podkop" ]; then
|
||||
add_tunnel
|
||||
break
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "Please enter y or n"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
else
|
||||
@@ -58,12 +61,18 @@ echo "Русский язык интерфейса ставим? y/n (Need a Rus
|
||||
while true; do
|
||||
read -r -p '' RUS
|
||||
case $RUS in
|
||||
|
||||
y)
|
||||
opkg install $DOWNLOAD_DIR/luci-i18n-podkop-ru*.ipk
|
||||
|
||||
break
|
||||
;;
|
||||
|
||||
n)
|
||||
break
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "Please enter y or n"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user