handle config key not set

This commit is contained in:
Jakob Ketterl 2021-04-24 19:48:42 +02:00
parent 1e684f9bf1
commit b7e38960c0

View File

@ -1,7 +1,7 @@
#!/bin/sh -ex #!/bin/sh -ex
. /usr/share/debconf/confmodule . /usr/share/debconf/confmodule
db_get openwebrx/admin_user_configured db_get openwebrx/admin_user_configured || true
if [ "${RET}" != true ]; then if [ "${RET}" != true ]; then
db_input high openwebrx/admin_user_password || true db_input high openwebrx/admin_user_password || true
db_go db_go