Changeset 1ec90b9


Ignore:
Timestamp:
05/01/14 08:40:37 (8 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
f03134b
Parents:
2f562fd
Message:

Don't need to populate /usr/pbi anymore

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/port-files/pkg-install

    rea88b8e r1ec90b9  
    11#!/bin/sh 
    2 # Script to install PBI repo on pkg add 
     2# Script for any install setup 
    33 
    44PREFIX=${PKG_PREFIX-/usr/local} 
     
    1414fi 
    1515 
    16 # If this is a new install, add the PC-BSD master repo 
    17 ls /var/db/pbi/keys/* 2>/dev/null >/dev/null 
    18 if [ $? -ne 0 ] ; then 
    19         ${PREFIX}/sbin/pbi_addrepo ${PREFIX}/share/pbi-manager/pcbsd.rpo 
    20 fi 
    21  
    22 # Install the PBI runtime stuff into /usr/pbi 
    23 if [ -e "${PREFIX}/share/pbi-manager/.pbime" ] ; then 
    24    install -o root -g wheel -m 755 ${PREFIX}/share/pbi-manager/.pbime /usr/pbi/.pbime 
    25    install -o root -g wheel -m 4751 ${PREFIX}/share/pbi-manager/.pbild /usr/pbi/.pbild 
    26    install -o root -g wheel -m 755 ${PREFIX}/share/pbi-manager/.pbirun /usr/pbi/.pbirun 
    27    install -o root -g wheel -m 755 ${PREFIX}/share/pbi-manager/.pbirun32 /usr/pbi/.pbirun32 
    28    install -o root -g wheel -m 755 ${PREFIX}/share/pbi-manager/.pbiinit /usr/pbi/.pbiinit 
    29    install -o root -g wheel -m 755 ${PREFIX}/share/pbi-manager/.ldconfig /usr/pbi/.ldconfig 
    30    install -o root -g wheel -m 755 ${PREFIX}/share/pbi-manager/.pbisyscmd /usr/bin/pbisyscmd 
    31    install -o root -g wheel -m 755 ${PREFIX}/share/pbi-manager/openwith /usr/bin/openwith 
    32    install -o root -g wheel -m 755 ${PREFIX}/share/pbi-manager/.pbi_preload.so /usr/pbi/.pbi_preload.so 
    33    install -o root -g wheel -m 755 ${PREFIX}/share/pbi-manager/.pbi_preload32.so /usr/pbi/.pbi_preload32.so 
    34    install -o root -g wheel -m 755 ${PREFIX}/share/pbi-manager/.pbiwrapper-i386 /usr/pbi/.pbiwrapper-i386 
    35    install -o root -g wheel -m 755 ${PREFIX}/share/pbi-manager/.pbiwrapper-amd64 /usr/pbi/.pbiwrapper-amd64 
    36 fi 
    37  
    3816# Check if we have our warden.conf file 
    3917if [ ! -e "${PREFIX}/etc/warden.conf" ] ; then 
Note: See TracChangeset for help on using the changeset viewer.