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

bootstrap: Fix le-autoupgrade on LE comunicações

parent df11eee4
No related branches found
No related tags found
1 merge request!20Hotfix/fix le autoupgrade
......@@ -125,6 +125,12 @@ else
cp -a ".md5sum" ".backup/"
fi
#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
# Run the agent and check if its execution was alright, exiting in case of error
${DATASID_HOME}/bin/datasid-agent.sh
RETVAL=$?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment