Merge pull request #4151 from crazyserver/MOBILE-4616
MOBILE-4616 lang: Fail if langpack branch is not foundmain
commit
a1c547badd
|
@ -94,8 +94,12 @@ function load_langpacks {
|
||||||
pushd "$LANGPACKS_PATH"
|
pushd "$LANGPACKS_PATH"
|
||||||
|
|
||||||
git checkout "langpack_$LANGVERSION"
|
git checkout "langpack_$LANGVERSION"
|
||||||
git pull
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "Cannot checkout language repository langpack_$LANGVERSION"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
git pull
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "Cannot update language repository"
|
echo "Cannot update language repository"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
@ -73,6 +73,7 @@ export class CoreAuthenticatedSite extends CoreUnauthenticatedSite {
|
||||||
'4.2': 2023042400,
|
'4.2': 2023042400,
|
||||||
'4.3': 2023100900,
|
'4.3': 2023100900,
|
||||||
'4.4': 2024042200,
|
'4.4': 2024042200,
|
||||||
|
'4.5': 2024081600, // @TODO correct the final release date.
|
||||||
};
|
};
|
||||||
|
|
||||||
// Possible cache update frequencies.
|
// Possible cache update frequencies.
|
||||||
|
|
Loading…
Reference in New Issue