2001-07-02 17:22:45 +02:00
|
|
|
#!/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
|
2001-10-21 19:49:27 +02:00
|
|
|
chown -R www:www /var/mnogosearch
|
2001-07-02 17:22:45 +02:00
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "Unexpected Argument $2!!!"
|
|
|
|
exit 1
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
exit 0
|
|
|
|
|