]> git.saurik.com Git - apple/system_cmds.git/blame - dynamic_pager.tproj/generate_plist.sh
system_cmds-880.100.5.tar.gz
[apple/system_cmds.git] / dynamic_pager.tproj / generate_plist.sh
CommitLineData
9726c137
A
1#!/bin/sh
2set -e
3set -x
4
5cp "${SCRIPT_INPUT_FILE_0}" "${SCRIPT_OUTPUT_FILE_0}"
6case "$PLATFORM_NAME" in
887d5eed 7iphone*|appletv*|watch*|bridge*)
9726c137
A
8 /usr/libexec/PlistBuddy -c "Add :LaunchOnlyOnce bool true" "${SCRIPT_OUTPUT_FILE_0}"
9 ;;
10macosx)
11 ;;
12*)
13 echo "Unsupported platform: $PLATFORM_NAME"
14 exit 1
15 ;;
16esac