2a47b16d4bd9eb1330e34e59de287ec5f8978a12
max
  Tue Dec 19 23:59:42 2017 -0800
gbib: making sure that mysql server is reset, refs #20733

diff --git src/browserbox/root/updateBrowser.sh src/browserbox/root/updateBrowser.sh
index 793daa8..a216831 100755
--- src/browserbox/root/updateBrowser.sh
+++ src/browserbox/root/updateBrowser.sh
@@ -238,30 +238,32 @@
 
 # install mysql-python for hgGeneGraph, actually cgi-bin/pyLib/hgLib.py
 if apt-cache policy python-mysqldb | grep "Installed: .none." > /dev/null; then
    echo - Installing mysql-python
    apt-get update
    apt-get --no-install-recommends install -y python-mysqldb
    apt-get -y autoremove
 fi
 
 # install curl for checking if we are closer to European or US mirror
 if apt-cache policy curl | grep "Installed: .none." > /dev/null; then
    echo - Installing curl
    apt-get update
    apt-get --no-install-recommends install -y curl
    apt-get -y autoremove
+   # make sure that the mysql server is re-configured now
+   rm -f /usr/local/apache/trash/registration.txt
 fi
 
 echo
 echo - Updating the genome browser software via rsync:
 
 # CGI-BIN and HTDOCS:
 # the parameter "hgwdev" copies over only the beta/alpha CGIs from hgwdev
 if [ "$1" == "hgwdev" ] ; then
     # note the missing -u option to RSYNC: in hgwdev mode, we want to overwrite everything.
     # On a development machine, the developer might have touched a file
     # for testing. We want to make sure that all local files are overwritten by the 
     # files on hgwdev
     RSYNCOPTS="-ltrvh"
     user=$2
     dirExt=$3