d4602fb53954917fe94513be398074f0ff03b23f
max
  Mon Jun 6 16:55:11 2016 -0700
adding imagemagick to gbib, refs #15312

diff --git src/browserbox/root/updateBrowser.sh src/browserbox/root/updateBrowser.sh
index 8f98202..b89f55e 100755
--- src/browserbox/root/updateBrowser.sh
+++ src/browserbox/root/updateBrowser.sh
@@ -214,30 +214,38 @@
     apt-get install -y linux-headers-generic 
     apt-get install -y virtualbox-guest-dkms
     apt-get -y autoremove
     /etc/init.d/vboxadd start
 
 fi
 
 # install R for the gtex tracks
 if apt-cache policy r-base | grep "Installed: .none." > /dev/null; then
    echo - Installing R
    apt-get update
    apt-get --no-install-recommends install -y r-base-core
    apt-get -y autoremove
 fi
 
+# install imagemagick for the session gallery
+if apt-cache policy imagemagick | grep "Installed: .none." > /dev/null; then
+   echo - Installing imagemagick
+   apt-get update
+   apt-get --no-install-recommends install -y imagemagick
+   apt-get -y autoremove
+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="-ltrzvh"
     user=$2
     dirExt=$3
 
     if [ "$user" == "" ]; then