mirror of https://github.com/BOINC/boinc.git
Mac installer: remove code I added earlier which renamed previous nvc_config.xml to old_nvc_config.xml.
This commit is contained in:
parent
8bab12f8f8
commit
e34b68379e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue