forked from EVOgeek/Vmeda.Online
MOBILE-4616 lang: Fail if langpack branch is not found
parent
959cb178f1
commit
19ebb077c1
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue