Skip to content
Snippets Groups Projects
Commit 7a589de3 authored by Diego Giovane Pasqualin's avatar Diego Giovane Pasqualin
Browse files

Merge branch 'hotfix/fix-le-autoupgrade' into 'master'

Hotfix/fix le autoupgrade
parents b0a45e4c c4d5d5a0
No related branches found
No related tags found
No related merge requests found
.root/
build/
proinfodata-1.4.1-update.run
proinfodata-bootstrap.img
......@@ -140,7 +140,7 @@ mv -f "${SEED_MEC_HOME}/update/tmp/SEED2-run/"{.md5*,.back*}* \
"${SEED_MEC_HOME}/SEED2/"
# Copy the files themself
rm -rf "${SEED_MEC_HOME}/SEED2/"{bin,lib,net,client,extra,network-scripts,scripts} &> /dev/null
rm -rf "${SEED_MEC_HOME}/SEED2/"{*.sh,bin,lib,net,client,extra,network-scripts,scripts} &> /dev/null
mv -f "${SEED_MEC_HOME}/update/tmp/SEED2-run/"* \
"${SEED_MEC_HOME}/SEED2/"
......@@ -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"
......
wget-1.13.4/
wget.tar.gz
bin/
build/
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