#!/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 # Automatically added by dh_python3 if command -v py3compile >/dev/null 2>&1; then py3compile -p console-log fi if command -v pypy3compile >/dev/null 2>&1; then pypy3compile -p console-log || true fi # End automatically added section # Automatically added by dh_installdeb/13.25 dpkg-maintscript-helper rm_conffile /etc/init.d/console-log 2.0\~ -- "$@" # End automatically added section # vim:tabstop=4:expandtab:shiftwidth=4