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