Vendor platypus.app

Let's see if it can be made to work.
This commit is contained in:
John Doty 2024-09-14 18:18:14 -07:00
parent 51049b4d30
commit e8c91189c0
136 changed files with 7058 additions and 0 deletions

View file

@ -0,0 +1,30 @@
#!/bin/sh
#
# UninstallCommandLineTool.sh
# Platypus
#
# Created by Sveinbjorn Thordarson on 6/17/08.
# Variables defined in Common.h
echo "Uninstalling command line tool"
if [ -e "%%CMDLINE_SHARE_PATH%%" ]; then
echo "Deleting '%%CMDLINE_SHARE_PATH%%' directory"
rm -R "%%CMDLINE_SHARE_PATH%%" &> /dev/null
fi
if [ -e "%%CMDLINE_TOOL_PATH%%" ]; then
echo "Deleting %%CMDLINE_PROGNAME%% command line tool in %%CMDLINE_TOOL_PATH%%"
rm "%%CMDLINE_TOOL_PATH%%" &> /dev/null
fi
if [ -e "%%CMDLINE_MANPAGE_PATH%%" ]; then
echo "Deleting %%CMDLINE_PROGNAME%% man page"
rm "%%CMDLINE_MANPAGE_PATH%%" &> /dev/null
fi
if [ -e "%%CMDLINE_MANPAGE_PATH%%.gz" ]; then
echo "Deleting gzipped %%CMDLINE_PROGNAME%% man page"
rm "%%CMDLINE_MANPAGE_PATH%%.gz" &> /dev/null
fi