diff options
author | Daniel Baumann <daniel@debian.org> | 2011-07-20 11:05:27 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-07-20 11:05:27 +0200 |
commit | 6a844f1bb27755192722b3bc21ef247cabaec891 (patch) | |
tree | e44f59f0e614202ed288903650920a425b402ffb /debian/tmp/live-build-cron-manual.config | |
parent | b3e6ff2e14f3d2763547fb0c523af8ee23317124 (diff) | |
download | vyos-live-build-6a844f1bb27755192722b3bc21ef247cabaec891.tar.gz vyos-live-build-6a844f1bb27755192722b3bc21ef247cabaec891.zip |
Reworking debconf stuff of merging former live-autobuild-manual and live-autobuild-images into a single live-build-cron.
Diffstat (limited to 'debian/tmp/live-build-cron-manual.config')
-rw-r--r-- | debian/tmp/live-build-cron-manual.config | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/debian/tmp/live-build-cron-manual.config b/debian/tmp/live-build-cron-manual.config deleted file mode 100644 index 264477825..000000000 --- a/debian/tmp/live-build-cron-manual.config +++ /dev/null @@ -1,50 +0,0 @@ -#!/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 |