. /usr/share/debconf/confmodule
-db_input high zephyr-clients/servers || true
-db_go
-
+zhm_args=""
+if test -f /etc/default/zephyr-clients
+then
+ . /etc/default/zephyr-client
+fi
+if test -z "$zhm_args"
+then
+ db_input high zephyr-clients/servers || true
+ db_go
+fi
fi
fi
- db_get zephyr-clients/servers
+ zhm_args=""
if test -f /etc/default/zephyr-clients
then
- grep -v ^zhm_args /etc/default/zephyr-clients > $tmpfile || true
+ . /etc/default/zephyr-clients
+ fi
+ if test -z "$zhm_args"
+ then
+ db_get zephyr-clients/servers
+ if test -f /etc/default/zephyr-clients
+ then
+ grep -v ^zhm_args /etc/default/zephyr-clients > $tmpfile || true
+ fi
+ echo zhm_args=\"${RET}\" >> $tmpfile
+ cat $tmpfile > /etc/default/zephyr-clients
fi
- echo zhm_args=\"${RET}\" >> $tmpfile
- cat $tmpfile > /etc/default/zephyr-clients
;;
abort-upgrade|abort-remove|abort-deconfigure)