eole-lemur/debian/eole-lemur.postinst
2020-10-21 11:57:15 +02:00

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