update.sh: pull main instead

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2020-09-10 10:29:38 +02:00
parent 68c0c3edcd
commit b27c01bc9b

View file

@ -48,7 +48,7 @@ if [ "$branch" == "master" ]; then
fi
echo 'Updating poezio'
git pull --ff-only origin master || {
git pull --ff-only origin main || {
echo "The script failed to update poezio."
exit 1
}