Ignore:
Timestamp:
09/11/13 08:01:17 (15 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
4f9718b, c0e6494
Parents:
e858767
Message:

Add a new pbi-manager10 copy, this will be used for FreeBSD > 10

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pbi-manager/install.sh

    rd9cad7c r651bd28  
    11#!/bin/sh 
    22# pbi-manager installation script 
     3 
     4# Check if this is for the right version of FreeBSD 
     5verCheck="`grep '^#define __FreeBSD_version' /usr/include/sys/param.h | awk '{print $3}'`" 
     6if [ $verCheck -gt 1000000 ] ; then 
     7  # This version is for FreeBSD <= 10 
     8  exit 0 
     9fi 
    310 
    411DEFAULT="/usr/local" 
Note: See TracChangeset for help on using the changeset viewer.