#!/bin/sh set -e . /usr/share/debconf/confmodule db_get sitesummary/collector_url URL="$RET" db_get sitesummary/site SITE="$RET" # Only replace the site file if the content changed if [ -f /etc/sitesummary/site ] ; then OLDSITE=`cat /etc/sitesummary/site` if [ "$SITE" != "$OLDSITE" ] ; then echo "$SITE" > /etc/sitesummary/site fi else echo "$SITE" > /etc/sitesummary/site fi db_stop #DEBHELPER#