Skip to content
Snippets Groups Projects
Commit 06e378a9 authored by Edileuton Henrique de Oliveira's avatar Edileuton Henrique de Oliveira
Browse files

build: Fix le-autoupgrade for LE5

parent b0a45e4c
No related branches found
No related tags found
1 merge request!8Hotfix/fix le autoupgrade
......@@ -151,6 +151,12 @@ rm -f "${SEED_MEC_HOME}/SEED2/updating" &> /dev/null
# Remove auxiliar directories
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
"${SEED_MEC_HOME}/SEED2/update.sh"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment