diff --git a/debian/eole-lemur.postinst b/debian/eole-lemur.postinst new file mode 100644 index 00000000..389aadac --- /dev/null +++ b/debian/eole-lemur.postinst @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +if [ "$1" = configure ]; then + # Make sure the administrative user exists + if ! getent passwd lemur > /dev/null; then + adduser --system --home /nonexistent --no-create-home --group --gecos "User for lemur" lemur --quiet + fi +fi + +exit 0