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