summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@mit.edu>2007-12-25 16:40:10 +0000
committerGravatar Karl Ramm <kcr@mit.edu>2007-12-25 16:40:10 +0000
commit13ecc7c412464bb62955a69d3e29243744a30f99 (patch)
treeffb42637b212ded3b5f3e15b5fd2ad8cfac6b78b
parent627ed4a556b987aba5452199ec6f7931dec944fe (diff)
debconf got pickier? did this ever work?
-rw-r--r--debian/zephyr-clients.postinst2
-rw-r--r--debian/zephyr-server.postinst2
2 files changed, 2 insertions, 2 deletions
diff --git a/debian/zephyr-clients.postinst b/debian/zephyr-clients.postinst
index 40ff3c2..e358728 100644
--- a/debian/zephyr-clients.postinst
+++ b/debian/zephyr-clients.postinst
@@ -40,7 +40,7 @@ case "$1" in
# if /etc/default/zephyr-clients already exists and has a zhm_args
# line, the config script should have sucked it into debconf
- db_get zephyr-clients/servers
+ db_get zephyr-clients/servers || true
tmpfile=/etc/default/zephyr-client.dpkg-new
if test -f /etc/default/zephyr-clients
diff --git a/debian/zephyr-server.postinst b/debian/zephyr-server.postinst
index 3157084..5470f6f 100644
--- a/debian/zephyr-server.postinst
+++ b/debian/zephyr-server.postinst
@@ -30,7 +30,7 @@ case "$1" in
db_set zephyr-server/read_conf true
- db_get zephyr-server/servers
+ db_get zephyr-server/servers || true
: > /etc/zephyr/server.list
for i in $RET
do