always remove password, no matter what the value
This commit is contained in:
parent
a750726459
commit
74aea63b9b
4
debian/openwebrx.postinst
vendored
4
debian/openwebrx.postinst
vendored
@ -19,9 +19,9 @@ case "$1" in
|
|||||||
db_get openwebrx/admin_user_password
|
db_get openwebrx/admin_user_password
|
||||||
if [ ! -z "${RET}" ]; then
|
if [ ! -z "${RET}" ]; then
|
||||||
OWRX_PASSWORD="${RET}" openwebrx-admin --noninteractive adduser admin
|
OWRX_PASSWORD="${RET}" openwebrx-admin --noninteractive adduser admin
|
||||||
# remove actual password from debconf database
|
|
||||||
db_unregister openwebrx/admin_user_password
|
|
||||||
fi
|
fi
|
||||||
|
# remove password from debconf database
|
||||||
|
db_unregister openwebrx/admin_user_password
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "postinst called with unknown argument '$1'" 1>&2
|
echo "postinst called with unknown argument '$1'" 1>&2
|
||||||
|
Loading…
Reference in New Issue
Block a user