eole-risotto/debian/eole-risotto.postinst

13 lines
276 B
Bash

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