#!/bin/bash

xivo-dcomp exec db xivo-check-db

if [ "$?" -ne 0 ]; then
    xivo-dcomp exec db xivo-update-db
fi
