6
. /usr/share/debconf/confmodule
8
if [ -n "$AIDEDEBUG" ]; then
9
echo "now debugging $0 $@"
13
PKGNAME="aide-config-zg2"
15
# Make sure we should be running...
20
abort-upgrade|abort-remove|abort-deconfigure)
24
echo "postinst called with unknown argument "$1 >&2
29
SRCDIR="/usr/share/$PKGNAME/config"
31
UCF="ucf --debconf-ok --three-way"
34
(cd "$SRCDIR" && find -type d -print0 ) | \
35
(cd "$TRGDIR"&& xargs -0 mkdir -p --)
37
for file in $(find "$SRCDIR" -type f -printf '%P\n' ); do
38
$UCF "$SRCDIR/$file" "$TRGDIR/$file"
39
$UCFR "$PKGNAME" "$TRGDIR/$file"