Skip to content
Snippets Groups Projects
Commit 4a150da0 authored by Ricardo Tavares de Oliveira's avatar Ricardo Tavares de Oliveira Committed by Vinicius Ruoso
Browse files

bootstrap-update: Added "extra" to the list of directories to remove


The directory "extra" was created in the agent, and needs to be removed
before replacing the new agent during the upgrade process.

Signed-off-by: default avatarRicardo Tavares de Oliveira <rto07@c3sl.ufpr.br>
Signed-off-by: default avatarVinicius Kwiecien Ruoso <vkr07@c3sl.ufpr.br>
parent cf5be3bc
Branches
Tags
No related merge requests found
......@@ -134,7 +134,7 @@ mv -f "${SEED_MEC_HOME}/update/tmp/SEED2-run/"{.md5*,.back*}* \
"${SEED_MEC_HOME}/SEED2/"
# The files itself
rm -rf "${SEED_MEC_HOME}/SEED2/"{bin,lib,net,client,scripts} &>/dev/null
rm -rf "${SEED_MEC_HOME}/SEED2/"{bin,lib,net,client,scripts,extra} &>/dev/null
mv -f "${SEED_MEC_HOME}/update/tmp/SEED2-run/"* \
"${SEED_MEC_HOME}/SEED2/"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment