source: src-qt4/port-files/pkg-install @ 39fe8b0

9.2-releasereleng/10.0releng/10.0.1releng/10.0.2releng/10.0.3releng/10.1
Last change on this file since 39fe8b0 was 39fe8b0, checked in by Kris Moore <kris@…>, 18 months ago

Update PCDM to use pcdm.conf out of /usr/local/etc/

  • Property mode set to 100644
File size: 308 bytes
Line 
1#!/bin/sh
2# Post-install setup
3
4PREFIX=${PKG_PREFIX-/usr/local}
5
6if [ "$2" != "POST-INSTALL" ] ; then
7   exit 0
8fi
9
10# Check if we need to copy pcdm.conf
11if [ ! -e "${PREFIX}/etc/pcdm.conf" ] ; then
12        cp ${PREFIX}/etc/pcdm.conf.dist ${PREFIX}/etc/pcdm.conf
13        chmod 600 ${PREFIX}/etc/pcdm.conf
14fi
15
16exit 0
Note: See TracBrowser for help on using the repository browser.