Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 29 lines (22 sloc) 0.797 kB
#!/bin/sh
# InstallCommandLineTool.sh
# Platypus
#
# Created by Sveinbjorn Thordarson on 6/17/08.
# Copyright 2008. All rights reserved.
# Create directories if they don't exist
mkdir -p /usr/local/bin
mkdir -p /usr/local/share
mkdir -p /usr/local/share/platypus
mkdir -p /usr/share/man/man1
# Change to Resources directory of Platypus application, which is first argument
cd $1
# Copy resouces over
cp platypus /usr/local/bin/platypus
cp ScriptExec /usr/local/share/platypus/ScriptExec
cp platypus.1 /usr/local/share/man/man1/platypus.1
cp PlatypusDefault.icns /usr/local/share/platypus/PlatypusDefault.icns
cp -r English.lproj/MainMenu.nib /usr/local/share/platypus/
chmod -R 755 /usr/local/share/platypus/
# Create text file with version
echo -n "4.0" > /usr/local/share/platypus/Version
Jump to Line
Something went wrong with that request. Please try again.