#!/bin/sh # postinst set -e USERNAME="Debian-console-log" [ -n "$CONLOGDEBUG" ] && set -x # Add user if [ "$1" = "configure" ]; then adduser --ingroup adm --system $USERNAME if dpkg --compare-versions "$2" lt 2.0; then update-rc.d -f console-log remove || true fi fi #DEBHELPER# # vim:tabstop=4:expandtab:shiftwidth=4