forked from ISTI-ansible-roles/ansible-roles
Run the algorithms installer also when the file that lists all the installed algorithms is empty.
This commit is contained in:
parent
edeca5608c
commit
9aba15c7b2
|
@ -208,8 +208,8 @@ check_lock_file
|
|||
update_svn_repo
|
||||
if [ $SVN_UPDATE_STATUS -ne 0 ] ; then
|
||||
if [ -d "${LOG_DIR}" ] ; then
|
||||
if [ ! -f "$ALGORITHMS_INSTALLED_FILE" ] ; then
|
||||
logger "algorithms-updater: nothing new to from SVN but the file that lists the installed algorithms does not exist. We are going to reinstall all the algorithms."
|
||||
if [ ! -f "$ALGORITHMS_INSTALLED_FILE" ] || [ ! -s "$ALGORITHMS_INSTALLED_FILE" ] ; then
|
||||
logger "algorithms-updater: nothing new to from SVN but the file that lists the installed algorithms does not exist or is empty. We are going to reinstall all the algorithms."
|
||||
else
|
||||
logger "algorithms-updater: nothing new to from SVN, exiting."
|
||||
cleanup 0
|
||||
|
|
Loading…
Reference in New Issue