Rev 2 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2 | Rev 17 | ||
---|---|---|---|
1 | #!/bin/sh |
1 | #!/bin/sh |
2 | 2 | ||
3 | set -e |
3 | set -e |
4 | 4 | ||
5 | if [ "$1" = "configure" ]; then |
5 | if [ "$1" = "configure" ]; then |
6 | adduser --quiet --system --home /var/lib/pyscrabble --no-create-home \ |
6 | adduser --quiet --system --home /var/lib/pyscrabble --no-create-home \ |
7 | --gecos "PyScrabble server" pyscrabble |
7 | --gecos "PyScrabble server" pyscrabble |
8 | install -d -opyscrabble -m2750 /var/lib/pyscrabble |
8 | install -d -opyscrabble -m2750 /var/lib/pyscrabble |
9 | install -d -opyscrabble -gadm -m2750 /var/log/pyscrabble |
9 | install -d -opyscrabble -gadm -m2750 /var/log/pyscrabble |
10 | fi |
10 | fi |
11 | 11 | ||
12 | #DEBHELPER# |
12 | #DEBHELPER# |