#!/bin/sh

codename=$(lsb_release -sc)

# Workaround for bad lsb_release behaviour when only a CD/DVD APT
# source is listed in /etc/sources.list, or when installing from
# testing/unstable.

if [ "n/a" = "$codename" ] ; then
    codename=jessie
fi

echo $codename
