Merge branch 'master' of bmi-desktop:/srv/git/myshellconfig
This commit is contained in:
commit
c55b1c88e8
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ esac
|
|||
#echo -n " remote: ${MYSHELLCONFIG_GIT_REMOTE_NAME}, branch: ${MYSHELLCONFIG_GIT_BRANCH}: "
|
||||
|
||||
# Check for updates in submodules only if last check was INTERVALL hours in the past
|
||||
updated=$(cat ${MYSHELLCONFIG_BASE%/}${MYSHELLCONFIG_BASE:+/}.last_udate_submodules 2>/dev/null || echo 0 )
|
||||
updated=$(cat ${MYSHELLCONFIG_BASE%/}${MYSHELLCONFIG_BASE:+/}.last_update_submodules 2>/dev/null || echo 0 )
|
||||
if [ $updated -lt $(date --date="${MYSHELLCONFIG_GIT_SUBMODULES_UPDATE_INTERVALL} hours ago" "+%s") ]; then
|
||||
GIT_FETCH_OPTIONS="--recurse-submodules"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue