aports/main/gnupg/gnupg-scdaemon.pre-install
Kevin Daudt 55811e2021 main/gnupg: don't error when gnupg group exists
The gnupg-scdaemon pre-install script propagated the exit code when the
gnupg group already exists.

Fix this by ending with `exit 0`, as is done in other pre-install
scripts.

Fixes #11886
2020-08-23 11:16:41 +00:00

4 lines
49 B
Bash

#!/bin/sh
addgroup -S gnupg 2> /dev/null
exit 0