mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
Update check_submodules.sh
This commit is contained in:
parent
3dbcb32f33
commit
1ab40cbd6d
1 changed files with 1 additions and 9 deletions
|
@ -18,18 +18,10 @@ function get_git_mtime {
|
|||
|
||||
fail=0
|
||||
|
||||
for f in icons/* "icons.qrc"; do
|
||||
if (( $(get_git_mtime "$f") > $(get_git_mtime "contrib/deterministic-build/electrum-icons/") )); then
|
||||
echo "Modification time of $f (" $(get_git_mtime --readable "$f") ") is newer than"\
|
||||
"last update of electrum-icons"
|
||||
fail=1
|
||||
fi
|
||||
done
|
||||
|
||||
if [ $(date +%s -d "2 weeks ago") -gt $(get_git_mtime "contrib/deterministic-build/electrum-locale/") ]; then
|
||||
echo "Last update from electrum-locale is older than 2 weeks."\
|
||||
"Please update it to incorporate the latest translations from crowdin."
|
||||
fail=1
|
||||
fi
|
||||
|
||||
exit ${fail}
|
||||
exit ${fail}
|
||||
|
|
Loading…
Add table
Reference in a new issue