~zulcss/keystone/refresh

« back to all changes in this revision

Viewing changes to debian/keystone.postinst

  • Committer: Soren Hansen
  • Date: 2011-06-21 09:38:30 UTC
  • Revision ID: soren@linux2go.dk-20110621093830-qzc5vamik555l4y2
Import packaging (work in progress)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
set -e
 
4
 
 
5
if [ "$1" = "configure" ]
 
6
then
 
7
        if ! getent passwd keystone > /dev/null 2>&1
 
8
        then
 
9
        adduser --system --home /var/lib/keystone --no-create-home --shell /bin/bash keystone
 
10
        fi
 
11
        chown keystone -R /var/lib/keystone /var/log/keystone
 
12
fi
 
13
 
 
14
#DEBHELPER#