#!/bin/sh set -e . /usr/share/debconf/confmodule _FILES="/etc/live/autobuild.conf /etc/live/autobuild.d/*" for _FILE in "${_FILES}" do if [ -e "${_FILE}" ] then _DEBCONF="true" . "${_FILE}" || true fi done if [ "${_DEBCONF}" = "true" ] then db_set live-autobuild-manual/enable "${LIVE_AUTOBUILD_MANUAL}" fi db_settitle live-autobuild-manual/title db_input high live-autobuild-manual/enable || true db_go db_get live-autobuild-manual/enable LIVE_AUTOBUILD_MANUAL="${RET}" if [ "${LIVE_AUTOBUILD_MANUAL}" != "true" ] then db_stop exit 0 fi db_settitle live-autobuild-manual/title db_input low live-autobuild-manual/username || true db_go db_settitle live-autobuild-manual/title db_input low live-autobuild-manual/directory || true db_go db_settitle live-autobuild-manual/title db_input low live-autobuild-manual/cron || true db_go db_stop