~notmyname/swift/saio_reference

« back to all changes in this revision

Viewing changes to debian/swift.postinst

  • Committer: Monty Taylor
  • Date: 2010-07-14 18:42:35 UTC
  • mfrom: (2.1.11 builddeb)
  • Revision ID: mordred@inaugust.com-20100714184235-c31jqc1krvy4nz3t
Updated tree to use import_dsc/import_upstream from bzr-builddeb.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh -e
2
 
 
3
 
# there's probably a better way
4
 
python -m compileall `python -c 'import swift;import os;print os.path.dirname(swift.__file__)'`
5
 
if ! getent passwd swift > /dev/null ; then
6
 
  adduser --system --quiet --disabled-login --disabled-password --no-create-home --group swift
7
 
fi
8