Commit 9916a09b authored by Matheus Horstmann's avatar Matheus Horstmann 🐴 Committed by Alessandro Elias

Issue #1: Add trigger to use new SIMMCTIC's agent

Signed-off-by: Matheus Horstmann's avatarMatheus Horstmann <mch15@inf.ufpr.br>
parent f0c36c3c
......@@ -11,7 +11,7 @@ lint_shell:
tags:
- debian-packaging
script:
- apt install wget
- apt update && apt install wget
- wget https://storage.googleapis.com/shellcheck/shellcheck-stable.linux.x86_64.tar.xz
- tar xf shellcheck-stable.linux.x86_64.tar.xz
- ./.linter_shell.sh
......
le-proinfodata (1.1.0) unstable; urgency=medium
* Trigger new simmctig agent when inep number changes
-- Matheus Horstmann <lesuporte@c3sl.ufpr.br> Tue, 22 Oct 2019 11:20:00 -0300
le-proinfodata (1.0.2) unstable; urgency=medium
* Prevents zenity from running as root (Closes: #637)
......
......@@ -22,7 +22,6 @@
# shellcheck disable=SC2089
# shellcheck disable=SC2181
# shellcheck disable=SC1117
TEXT="quero digitar o INEP da minha escola depois"
SEED_HOME="/opt/seed_mec/SEED2"
F_INEP="${SEED_HOME}/client/conf/inep"
......@@ -64,6 +63,9 @@ function verify_inep() {
if [ $? -eq 0 ];then
echo "$sch_inep" > "$inep_file"
if [ -x /opt/agentC3SL/le-agent-simmctic-reconf-inep.sh ]; then
/opt/agentC3SL/le-agent-simmctic-reconf-inep.sh
fi
return 0
else
# Check INEP is valid but not what the user expected
......
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