diff --git a/migrations/update-oo.sh b/migrations/update-oo.sh new file mode 100644 index 0000000000000000000000000000000000000000..54c74c790ab0d7b2c8bc39a8372e7f23e20fe3ba --- /dev/null +++ b/migrations/update-oo.sh @@ -0,0 +1,17 @@ +#!/bin/bash -eux + +# Verify they are all in sync with git, if not, print the domain name. +for oo in `ls -d ./oo-*`;do + cd $oo + if ! git diff --exit-code --quiet; then + echo $oo + fi + cd .. +done + +# Update all oo +for oo in `ls -d ./oo-*`;do + cd $oo + libre update + cd .. +done