#!/bin/sh
rm -f .pbuilderrc

if [ -d /var/cache/pbuilder/bullseye-base.cow ] ; then
    echo ""
    echo ""
    echo "------------------ update bullseye cowbuilder chroot -----------------------"
    sudo cowbuilder --update --basepath /var/cache/pbuilder/bullseye-base.cow --distribution bullseye
fi
