aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/p5-FreeBSD-Portindex/files/pkg-install.in
diff options
context:
space:
mode:
Diffstat (limited to 'ports-mgmt/p5-FreeBSD-Portindex/files/pkg-install.in')
-rw-r--r--ports-mgmt/p5-FreeBSD-Portindex/files/pkg-install.in33
1 files changed, 0 insertions, 33 deletions
diff --git a/ports-mgmt/p5-FreeBSD-Portindex/files/pkg-install.in b/ports-mgmt/p5-FreeBSD-Portindex/files/pkg-install.in
deleted file mode 100644
index efa3f50ca131..000000000000
--- a/ports-mgmt/p5-FreeBSD-Portindex/files/pkg-install.in
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-PATH=/usr/sbin:/usr/bin:/bin ; export PATH
-
-CACHE_DIR=%%CACHE_DIR%%
-CACHE_OWNER=%%CACHE_OWNER%%
-CACHE_GROUP=%%CACHE_GROUP%%
-CACHE_MODE=%%CACHE_MODE%%
-
-case $2 in
-
- # Create the cache directory and make it writable by group
- # 'operator' by default. Only if the cache directory doesn't
- # already exist. Have to do this by hand if installing via pkg.
- #
- # Add default copy of config file if no previous config file
- # exists.
-
- POST-INSTALL)
- if [ ! -d ${CACHE_DIR} ] ; then
- mkdir -p ${CACHE_DIR}
- chown ${CACHE_OWNER}:${CACHE_GROUP} ${CACHE_GROUP}
- chmod ${CACHE_MODE} ${CACHE_DIR}
- fi
- ;;
-esac
-
-#
-# That's All Folks!
-#