|
@@ -68,7 +68,21 @@ if [ -d /Library/StartupItems/Privoxy ]; then
|
|
|
fi
|
|
|
|
|
|
# Copy Documentation
|
|
|
-cp -r $PACKAGE_PATH/Contents/Resources/documents $TARGET/documents
|
|
|
+if [ -d $PACKAGE_PATH/Contents/Resources/documents ];then
|
|
|
+ cp -r $PACKAGE_PATH/Contents/Resources/documents $TARGET/documents
|
|
|
+fi
|
|
|
|
|
|
# Copy Uninstaller
|
|
|
-cp -r $PACKAGE_PATH/Contents/Resources/*ninstall* $TARGET/
|
|
|
+if [ -f $PACKAGE_PATH/Contents/Resources/Tor_Uninstaller.applescript ]; then
|
|
|
+ cp $PACKAGE_PATH/Contents/Resources/Tor_Uninstaller.applescript $TARGET/Tor_Uninstaller.applescript
|
|
|
+ chmod 755 $TARGET/Tor_Uninstaller.applescript
|
|
|
+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
|
|
|
+fi
|
|
|
+
|
|
|
+if [ -f $PACKAGE_PATH/Contents/Resources/package_list.txt ]; then
|
|
|
+ cp $PACKAGE_PATH/Contents/Resources/package_list.txt $TARGET/package_list.txt
|
|
|
+fi
|