eole-lemur/debian/eole-lemur.postinst

13 lines
274 B
Plaintext
Raw Normal View History

2020-10-21 11:57:15 +02:00
#!/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