always remove password, no matter what the value

This commit is contained in:
Jakob Ketterl 2021-02-18 16:14:45 +01:00
parent a750726459
commit 74aea63b9b
1 changed files with 2 additions and 2 deletions

View File

@ -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