From e34b68379e220ff7f1d7c56be2de19a75d606449 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Thu, 26 Jul 2018 02:38:59 -0700 Subject: [PATCH] Mac installer: remove code I added earlier which renamed previous nvc_config.xml to old_nvc_config.xml. --- mac_installer/preinstall | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/mac_installer/preinstall b/mac_installer/preinstall index 3c4ff88859..87a8a56412 100755 --- a/mac_installer/preinstall +++ b/mac_installer/preinstall @@ -1,7 +1,7 @@ #!/bin/sh ## -# Pre-Install / Pre-Upgrade Script for Macintosh BOINC Manager for OS X revised 7/15/18 +# Pre-Install / Pre-Upgrade Script for Macintosh BOINC Manager for OS X revised 7/26/18 ## # If we are replacing an earlier GridRepublic installation, fix the data directory name before installing @@ -18,11 +18,4 @@ rm -fR "/Library/Screen Savers/BOINCSaver.saver" # Remove any old "BOINC Manager.mo" files before installing "BOINC-Manager.mo" files (or vice-versa) rm -fR "/Library/Application Support/BOINC Data/locale/" -# Rename any previous nvc_config.xml file to old_nvc_config.xml to allow -# newer_version_startup_check() to compare them -rm -f "/Library/Application Support/BOINC Data/old_nvc_config.xml" -if [ -e "/Library/Application Support/BOINC Data/nvc_config.xml" ]; then - mv -f "/Library/Application Support/BOINC Data/nvc_config.xml" "/Library/Application Support/BOINC Data/old_nvc_config.xml" -fi - exit 0