case $MODE in
    configure)
        if [  "$DIST" = "n/a" ]; then
            # set distribution if lsb_release failed to figure it out
            DIST=$(debian-edu-current-codename)
            echo "Note: setting distribution to $DIST, as auto-detection failed."
        fi
    ;;
esac
