include confmodule only when needed, avoiding potential warnings

This commit is contained in:
Jakob Ketterl 2021-02-18 16:08:22 +01:00
parent 1956907d6d
commit eb8b8c4a5a

View File

@ -1,8 +1,8 @@
#!/bin/sh -e #!/bin/sh -e
if [ ! -e /usr/bin/openwebrx-admin ] || ! /usr/bin/openwebrx-admin --silent hasuser admin; then
. /usr/share/debconf/confmodule . /usr/share/debconf/confmodule
if [ ! -e /usr/bin/openwebrx-admin ] || ! /usr/bin/openwebrx-admin --silent hasuser admin; then
db_input high openwebrx/admin_user_password || true db_input high openwebrx/admin_user_password || true
db_go db_go
fi fi