#!/bin/sh set -e . /usr/share/debconf/confmodule file="$1" if (! db_get apt-setup/restricted || [ "$RET" = false ]) && \ (! db_get apt-setup/multiverse || [ "$RET" = false ]); then # Don't even mention partner if non-free software is disabled. exit fi if ! db_get mirror/codename || [ -z "$RET" ]; then db_get cdrom/codename fi codename="$RET" if db_get apt-setup/services-select-ubuntu && echo "$RET" | grep -q partner; then COMMENT= else cat >> $file <> $file <