include confmodule only when needed, avoiding potential warnings
This commit is contained in:
parent
1956907d6d
commit
eb8b8c4a5a
2
debian/openwebrx.config
vendored
2
debian/openwebrx.config
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user