eole-lemur/debian/eole-lemur.postinst

13 lines
274 B
Bash

#!/bin/sh
set -e
if [ "$1" = configure ]; then
# Make sure the administrative user exists
if ! getent passwd lemur > /dev/null; then
adduser --system --home /usr/share/lemur --no-create-home --group --gecos "User for lemur" lemur --quiet
fi
fi
exit 0