mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
3f47cb73d5
- replace spaces with tabs - utilize DATADIR and PORTDIR
21 lines
360 B
Bash
21 lines
360 B
Bash
#!/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
|