diff --git a/debian/postinst b/debian/postinst index ecd148a4c..0d540a673 100644 --- a/debian/postinst +++ b/debian/postinst @@ -2,7 +2,9 @@ case "$1" in configure) - adduser --system --group --home /var/lib/zerotier-one --no-create-home zerotier-one + if ! id zerotier-one >>/dev/null 2>&1; then + adduser --system --group --home /var/lib/zerotier-one --no-create-home zerotier-one + fi ;; esac