build OS X installer

This commit is contained in:
Frank Morgner
2015-05-11 11:06:17 +02:00
parent 91f2e9e339
commit 399f41dd6b
3 changed files with 48 additions and 8 deletions

View File

@@ -0,0 +1,13 @@
#!/bin/bash
if [ -e "/Library/OpenSC/etc/opensc.conf" ]
then
mv /Library/OpenSC/etc/opensc.conf /Library/OpenSC/etc/opensc.conf.orig
fi
mkdir -p /Library/OpenSC/etc
ln -sf /Library/nPA/etc/opensc.conf /Library/OpenSC/etc
for f in /Library/nPA/bin/*
do
ln -sf $f /usr/local/bin
done