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