greizgh / vaultwarden-debian

vaultwarden_rs packaging tool
GNU General Public License v3.0
55 stars 16 forks source link

Package installation fails if user "bitwarden" already exists #2

Closed deanishe closed 5 years ago

deanishe commented 5 years ago

I tried to install the .deb on a system running a version of bitwarden_rs I built myself.

Installation failed because the user "bitwarden" already exists.

greizgh commented 5 years ago

This is expected as the postinstall script will always try to add the user. The warning can be ignored as it does not prevent the correct installation of the package.

deanishe commented 5 years ago

This is expected as the postinstall script will always try to add the user.

Why doesn't it check if the user exists first? It's not obvious the warning can be ignored. It looks like installation failed.