diff options
Diffstat (limited to 'www/mnoGoSearch-current/pkg-install')
-rw-r--r-- | www/mnoGoSearch-current/pkg-install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/www/mnoGoSearch-current/pkg-install b/www/mnoGoSearch-current/pkg-install new file mode 100644 index 000000000000..9b16414b95ae --- /dev/null +++ b/www/mnoGoSearch-current/pkg-install @@ -0,0 +1,20 @@ +#!/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 nobody:nogroup /var/mnogosearch + ;; + *) + echo "Unexpected Argument $2!!!" + exit 1 + ;; +esac +exit 0 + |