Skip to content
Snippets Groups Projects
Commit c19362cf authored by Erik Alexandre Pucci's avatar Erik Alexandre Pucci
Browse files

buildpackage: Add a step to restore MD5 backup files in bootstrap-update


Add a step to the installation process to restore the inep and proxy MD5
backup files.

Signed-off-by: default avatarErik Alexandre Pucci <eap08@c3sl.ufpr.br>
Acked-by: default avatarAryane Ast dos Santos <aras10@c3sl.ufpr.br>
parent feac6bfb
No related branches found
No related tags found
No related merge requests found
...@@ -102,7 +102,9 @@ if test "${ERROR}" -eq 0; then ...@@ -102,7 +102,9 @@ if test "${ERROR}" -eq 0; then
# Copy or create the md5 files from inep and proxy # Copy or create the md5 files from inep and proxy
(test -d "${SEED_MEC_HOME}/SEED2/.md5sum" && (test -d "${SEED_MEC_HOME}/SEED2/.md5sum" &&
cp -a "${SEED_MEC_HOME}/SEED2/.md5sum/client/conf/"{inep,proxy} \ cp -a "${SEED_MEC_HOME}/SEED2/.md5sum/client/conf/"{inep,proxy} \
"${SEED_MEC_HOME}/update/tmp/SEED2-run/.md5sum/client/conf/") || "${SEED_MEC_HOME}/update/tmp/SEED2-run/.md5sum/client/conf/" &&
cp -a "${SEED_MEC_HOME}/SEED2/.md5sum/.backup/client/conf/"{inep,proxy} \
"${SEED_MEC_HOME}/update/tmp/SEED2-run/.md5sum/.backup/client/conf/") ||
restore_inep_proxy_md5sum restore_inep_proxy_md5sum
# Copy or create the backup files from inep and proxy # Copy or create the backup files from inep and proxy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment