test for existence of admin user before asking questions

This commit is contained in:
Jakob Ketterl 2021-02-18 15:55:55 +01:00
parent c09f17579c
commit 5e37b75cfb

View File

@ -2,5 +2,7 @@
. /usr/share/debconf/confmodule . /usr/share/debconf/confmodule
if [ ! -e /usr/bin/openwebrx-admin ] || [ ! /usr/bin/openwebrx-admin hasuser admin ]; then
db_input high openwebrx/admin_user_password || true db_input high openwebrx/admin_user_password || true
db_go db_go
fi