include confmodule only when needed, avoiding potential warnings
This commit is contained in:
parent
1956907d6d
commit
eb8b8c4a5a
4
debian/openwebrx.config
vendored
4
debian/openwebrx.config
vendored
@ -1,8 +1,8 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
. /usr/share/debconf/confmodule
|
|
||||||
|
|
||||||
if [ ! -e /usr/bin/openwebrx-admin ] || ! /usr/bin/openwebrx-admin --silent hasuser admin; then
|
if [ ! -e /usr/bin/openwebrx-admin ] || ! /usr/bin/openwebrx-admin --silent hasuser admin; then
|
||||||
|
. /usr/share/debconf/confmodule
|
||||||
|
|
||||||
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