build: Fix le-autoupgrade for LE5

Signed-off-by: default avatarEdileuton Henrique de Oliveira <eho09@c3sl.ufpr.br>
parent b0a45e4c
...@@ -151,6 +151,12 @@ rm -f "${SEED_MEC_HOME}/SEED2/updating" &> /dev/null ...@@ -151,6 +151,12 @@ rm -f "${SEED_MEC_HOME}/SEED2/updating" &> /dev/null
# Remove auxiliar directories # Remove auxiliar directories
rm -rf "${SEED_MEC_HOME}/update" &> /dev/null rm -rf "${SEED_MEC_HOME}/update" &> /dev/null
#Fix the le-autoupgrade on LE 5
if test -f /etc/le_version && \
dpkg --compare-versions $(cat /etc/le_version ) gt 4; then
sudo rm -f '/etc/apt/sources.list.d/quantal-repos.list'
fi
# Call the agent # Call the agent
"${SEED_MEC_HOME}/SEED2/update.sh" "${SEED_MEC_HOME}/SEED2/update.sh"
......
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