summaryrefslogtreecommitdiff
path: root/www/mnogosearch31/pkg-install
blob: 9b16414b95ae0a36682ef49eab4a6f5e59a5efc6 (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/mnogosearch
	mkdir -m 700 /var/mnogosearch/cache
	mkdir -m 755 /var/mnogosearch/raw
	mkdir -m 755 /var/mnogosearch/splitter
	mkdir -m 755 /var/mnogosearch/tree
	chown -R nobody:nogroup /var/mnogosearch
	;;
    *)
	echo "Unexpected Argument $2!!!"
	exit 1
	;;
esac
exit 0