From a75072645982f54a602155dfc631fa969393b914 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Thu, 18 Feb 2021 16:14:15 +0100 Subject: [PATCH] new mechanism doesn't require any dummy values in the db --- debian/openwebrx.postinst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/openwebrx.postinst b/debian/openwebrx.postinst index a3e3344..cdc1ad7 100755 --- a/debian/openwebrx.postinst +++ b/debian/openwebrx.postinst @@ -17,10 +17,10 @@ case "$1" in # create initial openwebrx user db_get openwebrx/admin_user_password - if [ ! -z "${RET}" ] && [ "${RET}" != "__DONE__" ]; then + if [ ! -z "${RET}" ]; then OWRX_PASSWORD="${RET}" openwebrx-admin --noninteractive adduser admin - # remove actual password from debconf database, but leave a marker - db_set openwebrx/admin_user_password "__DONE__" + # remove actual password from debconf database + db_unregister openwebrx/admin_user_password fi ;; *)