1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/www/mnogosearch31/pkg-install
2001-10-21 17:49:27 +00:00

21 lines
345 B
Bash

#!/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 www:www /var/mnogosearch
;;
*)
echo "Unexpected Argument $2!!!"
exit 1
;;
esac
exit 0