Commit 89f783f2 authored by Guilherme Becker Agge's avatar Guilherme Becker Agge
Browse files

Teste

No related merge requests found
Pipeline #17088 failed with stages
in 28 seconds
Showing with 6 additions and 6 deletions
+6 -6
......@@ -127,10 +127,10 @@ function verify_proxy() {
zenity --question --title="INEP" --cancel-label="Não" --ok-label="Sim" \
--text="Host:$host \nPorta: $port \nUsuario: $user \nEssas informações estão corretas?"
if [[ $? -eq 0 ]]; then
echo "phost="$host > $F_PROXY
echo "pport="$port >> $F_PROXY
echo "puid="$user >> $F_PROXY
echo "ppasswd="$password >> $F_PROXY
echo "phost=""$host" > $F_PROXY
echo "pport=""$port" >> $F_PROXY
echo "puid=""$user" >> $F_PROXY
echo "ppasswd=""$password" >> $F_PROXY
proxy_ok="true"
fi
......@@ -156,8 +156,8 @@ while [[ $VALID = "false" ]]; do
continue
fi
#Check strings
INEP_C=$(echo $INEP|tr -d " "|tr '[[:upper:]]' '[[:lower:]]')
TEXT_C=$(echo $TEXT|tr -d " "|tr -d "\""| tr '[[:upper:]]' '[[:lower:]]')
INEP_C=$(echo "$INEP"|tr -d " "|tr '[:upper:]' '[:lower:]')
TEXT_C=$(echo "$TEXT"|tr -d " "|tr -d "\""| tr '[:upper:]' '[:lower:]')
if [[ "$INEP_C" = "$TEXT_C" ]]; then
zenity --info --title="INEP" --height=100 --no-wrap --text=" O número INEP será requisitado novamente na próxima vez que este computador for ligado. Clique em OK para continuar."
VALID=true
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment