Mac installer: remove code I added earlier which renamed previous nvc_config.xml to old_nvc_config.xml.

This commit is contained in:
Charlie Fenton 2018-07-26 02:38:59 -07:00
parent 8bab12f8f8
commit e34b68379e
1 changed files with 1 additions and 8 deletions

View File

@ -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