1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/www/dpsearch/pkg-install
Yen-Ming Lee 3f47cb73d5 - update to dpsearch-4.25
- replace spaces with tabs
- utilize DATADIR and PORTDIR
2004-11-04 17:21:35 +00:00

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