mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
Packaging support for MacOS X 10.9 "Mavericks".
Based on work originally done by Matt Haught <dmhaught@ncsu.edu>. Change-Id: Ibc7d79953667dfdfcc2e6c5c1c4c77249f11f4ad Reviewed-on: http://gerrit.openafs.org/10539 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
This commit is contained in:
parent
aac384b2ed
commit
cb53d255a6
19
src/packaging/MacOS/InstallationCheck.13
Normal file
19
src/packaging/MacOS/InstallationCheck.13
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
majorvers=`uname -r | sed 's/\..*//'`
|
||||||
|
if [ $majorvers -ne 13 ]; then
|
||||||
|
exit 112
|
||||||
|
fi
|
||||||
|
|
||||||
|
# check for temporary versions of ThisCell and CellAlias
|
||||||
|
# and move them aside
|
||||||
|
tmpthiscell=/private/tmp/org.OpenAFS.Install.ThisCell.$USER
|
||||||
|
tmpcellalias=/private/tmp/org.OpenAFS.Install.CellAlias.$USER
|
||||||
|
date=`date +%Y%m%d%H%M`
|
||||||
|
if [ -e $tmpthiscell ]; then
|
||||||
|
mv -f $tmpthiscell $tmpthiscell.$date
|
||||||
|
fi
|
||||||
|
if [ -e $tmpcellalias ]; then
|
||||||
|
mv -f $tmpcellalias $tmpcellalias.$date
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit 0
|
1
src/packaging/MacOS/InstallationCheck.strings.13
Normal file
1
src/packaging/MacOS/InstallationCheck.strings.13
Normal file
@ -0,0 +1 @@
|
|||||||
|
"16" = "This OpenAFS release requires Mountain Lion (10.9)";
|
7
src/packaging/MacOS/ReadMe.rtf.13
Normal file
7
src/packaging/MacOS/ReadMe.rtf.13
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf320
|
||||||
|
{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
|
||||||
|
{\colortbl;\red255\green255\blue255;}
|
||||||
|
\margl1440\margr1440\vieww9000\viewh9000\viewkind0
|
||||||
|
\pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural
|
||||||
|
|
||||||
|
\f0\fs24 \cf0 This release of OpenAFS is targeted at MacOS 10.9 (Mavericks) and is not recommended for use with any other version.}
|
@ -43,6 +43,9 @@ fi
|
|||||||
if [ $majorvers -eq 12 ]; then
|
if [ $majorvers -eq 12 ]; then
|
||||||
RELNAME="MountainLion"
|
RELNAME="MountainLion"
|
||||||
fi
|
fi
|
||||||
|
if [ $majorvers -eq 13 ]; then
|
||||||
|
RELNAME="Mavericks"
|
||||||
|
fi
|
||||||
|
|
||||||
PKGROOT=$CURDIR/pkgroot
|
PKGROOT=$CURDIR/pkgroot
|
||||||
PKGRES=$CURDIR/pkgres
|
PKGRES=$CURDIR/pkgres
|
||||||
|
Loading…
x
Reference in New Issue
Block a user