3 # postinst script for monkeysphere
5 # Author: Jameson Rollins <jrollins@finestructure.net>
8 VARLIB="/var/lib/monkeysphere"
10 # add a monkeysphere user if one does not already exist
11 if ! getent passwd monkeysphere >/dev/null ; then
12 echo "adding monkeysphere user..."
13 adduser --quiet --system --no-create-home --group \
16 --gecos 'monkeysphere authentication user,,,' \
20 # try to transition from to 0.23:
21 /usr/share/monkeysphere/transitions/0.23
23 # setup monkeysphere authentication
24 monkeysphere-authentication setup
26 # dh_installdeb will replace this with shell code automatically
27 # generated by other debhelper scripts.