summaryrefslogtreecommitdiff
path: root/contrib/osx/TorPostflight
diff options
context:
space:
mode:
authorAndrew Lewman <andrew@torproject.org>2006-07-07 00:55:12 +0000
committerAndrew Lewman <andrew@torproject.org>2006-07-07 00:55:12 +0000
commit0c0aadae92bf9fb19c22c0f0e6a6af8162ff0923 (patch)
treea9766563cd15dbf668e5e0b0ace8ba30c8b39d34 /contrib/osx/TorPostflight
parentf52bcc908d69d05b7febcf350f1a1d44c0d1ca4a (diff)
downloadtor-0c0aadae92bf9fb19c22c0f0e6a6af8162ff0923.tar.gz
tor-0c0aadae92bf9fb19c22c0f0e6a6af8162ff0923.zip
Updated OSX binary un-installer for testing.
svn:r6742
Diffstat (limited to 'contrib/osx/TorPostflight')
-rw-r--r--contrib/osx/TorPostflight7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/osx/TorPostflight b/contrib/osx/TorPostflight
index cd49924947..cf40cdda46 100644
--- a/contrib/osx/TorPostflight
+++ b/contrib/osx/TorPostflight
@@ -83,6 +83,13 @@ if [ -f $PACKAGE_PATH/Contents/Resources/Tor_Uninstaller.applescript ]; then
chmod 755 $TARGET/Tor_Uninstaller.applescript
fi
+if [ -f $PACKAGE_PATH/Contents/Resources/Tor_Uninstaller.app.tar.gz ]; then
+ cp $PACKAGE_PATH/Contents/Resources/Tor_Uninstaller.app.tar.gz $TARGET/Tor_Uninstaller.app.tar.gz
+ cd $TARGET && tar zxf Tor_Uninstaller.app.tar.gz
+ chmod -R 755 $TARGET/Tor_Uninstaller.app
+ chown -R _tor:_tor Tor_Uninstaller.app
+fi
+
if [ -f $PACKAGE_PATH/Contents/Resources/uninstall_tor_bundle.sh ]; then
cp $PACKAGE_PATH/Contents/Resources/uninstall_tor_bundle.sh $TARGET/uninstall_tor_bundle.sh
chmod 755 $TARGET/uninstall_tor_bundle.sh