From 74aea63b9bfbeec56abb66903759d1b8e92521ad Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Thu, 18 Feb 2021 16:14:45 +0100 Subject: [PATCH] always remove password, no matter what the value --- debian/openwebrx.postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/openwebrx.postinst b/debian/openwebrx.postinst index cdc1ad74..4ac385a1 100755 --- a/debian/openwebrx.postinst +++ b/debian/openwebrx.postinst @@ -19,9 +19,9 @@ case "$1" in db_get openwebrx/admin_user_password if [ ! -z "${RET}" ]; then OWRX_PASSWORD="${RET}" openwebrx-admin --noninteractive adduser admin - # remove actual password from debconf database - db_unregister openwebrx/admin_user_password fi + # remove password from debconf database + db_unregister openwebrx/admin_user_password ;; *) echo "postinst called with unknown argument '$1'" 1>&2