aboutsummaryrefslogtreecommitdiffstats
path: root/www/dpsearch/pkg-install
blob: d585565095631d172b72d42bdef370486a4ff387 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

case $2 in
    PRE-INSTALL)
    ;;
    POST-INSTALL)
    mkdir -m 755 /var/dpsearch
    mkdir -m 700 /var/dpsearch/cache
    mkdir -m 755 /var/dpsearch/store
    mkdir -m 755 /var/dpsearch/url
    mkdir -m 755 /var/dpsearch/splitter
    mkdir -m 755 /var/dpsearch/tree
    chown -R www:www /var/dpsearch
    ;;
    *)
    echo "Unexpected Argument $2!!!"
    exit 1
    ;;
esac
exit 0