Upgrade the helm charts to Arvados 2.1.0.
[arvados-k8s.git] / dockerfiles / bootstrap.sh
index c236b8027af42309a4521a4500ab7e949b575836..784e4d12cf9a0342420c6c9a629bf155230019b6 100755 (executable)
@@ -9,7 +9,7 @@ if [[ "$1" == "" ]]; then
   exit 1
 fi
 
-if [[ "$@" =~ "arvados-workbench=" ]] || [[ "$@" =~ "arvados-sso-server=" ]] || [[ "$@" =~ "arvados-api-server=" ]]; then
+if [[ "$@" =~ "arvados-workbench=" ]] || [[ "$@" =~ "arvados-api-server=" ]]; then
   RESET_NGINX_DAEMON_FLAG=true
 else
   RESET_NGINX_DAEMON_FLAG=false
@@ -33,11 +33,11 @@ if [[ "$RESET_NGINX_DAEMON_FLAG" == true ]]; then
 fi
 
 if [[ "$debs" != "" ]]; then
-  apt-get -qqy install $debs
+  apt-get -qqy --allow-downgrades install $debs
   if [[ "$?" != "0" ]]; then
     # Maybe we need to update the apt cache first?
     apt-get update
-    apt-get -qqy install $debs
+    apt-get -qqy --allow-downgrades install $debs
   fi
 fi