#!/bin/bash


if [ "$XIVO_VERSION_INSTALLED" == "2022.04.00" ]; then
    # Remove all lines containing buster-backports
    # Fix bug introduced in commit e6871c9
    sed -i '/buster-backports/d' /etc/apt/sources.list
    exit 0
else
    exit 0
fi
