#!/bin/bash set -e . /usr/share/debconf/confmodule case "$1" in configure) # If the directory is owned by root, change ownership. This # happens for fresh installations, and re-installations after # removal (and purge, of course). find /var/lib/debsecan -maxdepth 0 -user root | while read dir ; do chown daemon:daemon "$dir" done if ! test -e /etc/default/debsecan ; then cat > /etc/default/debsecan <