mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
21 lines
360 B
Plaintext
21 lines
360 B
Plaintext
|
#!/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
|