File: pyscrabble-server.postinst

package info (click to toggle)
pyscrabble 1.6.2-3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 15,276 kB
  • ctags: 1,396
  • sloc: python: 11,667; sh: 429; makefile: 67
file content (12 lines) | stat: -rw-r--r-- 307 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e

if [ "$1" = "configure" ]; then
    adduser --quiet --system --home /var/lib/pyscrabble --no-create-home \
        --gecos "PyScrabble server" pyscrabble
    install -d -opyscrabble -m2750 /var/lib/pyscrabble 
    install -d -opyscrabble -gadm -m2750 /var/log/pyscrabble 
fi

#DEBHELPER#