diff options
Diffstat (limited to 'debian/sitesummary-client.config')
-rw-r--r-- | debian/sitesummary-client.config | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/sitesummary-client.config b/debian/sitesummary-client.config new file mode 100644 index 0000000..03b1535 --- /dev/null +++ b/debian/sitesummary-client.config @@ -0,0 +1,15 @@ +#!/bin/sh + +# if we do not have debconf, we just skip this +. /usr/share/debconf/confmodule || exit 0 + +db_input medium sitesummary/collector_url || true +db_go || true + +if [ -f /etc/sitesummary/site ] ; then + SITE=`cat /etc/sitesummary/site` + db_set sitesummary/site "$SITE" +fi + +db_input medium sitesummary/site || true +db_go || true |