]> git.saurik.com Git - apple/securityd.git/blob - etc/authmerge.sh
securityd-55126.5.tar.gz
[apple/securityd.git] / etc / authmerge.sh
1 #!/bin/sh
2 set -e
3
4 MERGE_FILE=authorization.merge
5 ETC_DIR=${DSTROOT}/private/etc
6 SRC=${SRCROOT}/etc
7
8 if [ -f ${SRC}/${MERGE_FILE} ]; then
9 echo "Installing ${MERGE_FILE}..."
10 mkdir -p ${ETC_DIR}
11 plutil -lint ${SRC}/${MERGE_FILE}
12 cp ${SRC}/${MERGE_FILE} ${ETC_DIR}/${MERGE_FILE}
13 else
14 echo "file not found: ${SRC}/${MERGE_FILE}"
15 fi
16