improve output

This commit is contained in:
Jakobus Schürz 2020-11-05 21:58:50 +01:00
parent f0d5c2b718
commit 667b9d2ff0

View file

@ -95,14 +95,16 @@ EOF
fi
logwarn " repo synced"
logwarn "
repo synced"
if ${MYSHELLCONFIG_GIT_SUBMODULES_UPDATE-${MYSHELLCONFIG_GIT_SUBMODULES_UPDATE_DEFAULT-true}}; then
if ${dosubmodupdate:-false}; then
logdebug "$($SGIT submodule update --remote)"
logdebug "$($SGIT commit -a -m 'update submodules')"
date "+%s" > ${MYSHELLCONFIG_BASE%/}${MYSHELLCONFIG_BASE:+/}.last_update_submodules
logwarn " submodules synced"
logwarn "
submodules synced"
fi
else
loginfo -n ", submodules not synced"