Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
le6
le-proinfodata
Commits
89f783f2
Commit
89f783f2
authored
6 years ago
by
Guilherme Becker Agge
Browse files
Options
Download
Email Patches
Plain Diff
Teste
parent
e1e3df59
porting_to_le6
linters_old
No related merge requests found
Pipeline
#17088
failed with stages
in 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
package/usr/local/bin/dialog_inep.sh
+6
-6
package/usr/local/bin/dialog_inep.sh
with
6 additions
and
6 deletions
+6
-6
package/usr/local/bin/dialog_inep.sh
+
6
-
6
View file @
89f783f2
...
...
@@ -127,10 +127,10 @@ function verify_proxy() {
zenity
--question
--title
=
"INEP"
--cancel-label
=
"Não"
--ok-label
=
"Sim"
\
--text
=
"Host:
$host
\n
Porta:
$port
\n
Usuario:
$user
\n
Essas 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
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help