=== modified file 'debian/mandos-client.postinst' --- debian/mandos-client.postinst 2009-05-17 03:13:49 +0000 +++ debian/mandos-client.postinst 2009-05-24 23:36:15 +0000 @@ -33,13 +33,15 @@ # Add user and group add_mandos_user(){ # Rename old "mandos" user and group - case "`getent passwd mandos`" in - *:Mandos\ password\ system,,,:/nonexistent:/bin/false) - usermod --login _mandos mandos - groupmod --new-name _mandos mandos - return - ;; - esac + if dpkg --compare-versions "$2" lt "1.0.3-1"; then + case "`getent passwd mandos`" in + *:Mandos\ password\ system,,,:/nonexistent:/bin/false) + usermod --login _mandos mandos + groupmod --new-name _mandos mandos + return + ;; + esac + fi # Create new user and group if ! getent passwd _mandos >/dev/null; then adduser --system --force-badname --quiet --home /nonexistent \