From 11ecc9c8f199d84d34df5e7e4f78679a50c75475 Mon Sep 17 00:00:00 2001
From: jlopez <jimmy.lopez0023@gmail.com>
Date: Mon, 25 Mar 2019 16:47:09 +0100
Subject: [PATCH] Fix home

---
 server/opt_home.R | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/server/opt_home.R b/server/opt_home.R
index 4ceca3f..4abdf40 100755
--- a/server/opt_home.R
+++ b/server/opt_home.R
@@ -477,9 +477,9 @@ createWorkflows <- function(result, haveR, haveConda) {
         result <- paste0(result, "\n")
         
         result <- paste(result, "\techo \'export PATH=/opt/conda/bin:$PATH\' > /etc/profile.d/conda.sh && \\",
-                        "\twget --quiet https://repo.continuum.io/miniconda/Miniconda2-4.0.5-Linux-x86_64.sh -O ~/miniconda.sh && \\",
-                        "\t/bin/bash ~/miniconda.sh -b -p /opt/conda && \\",
-                        "\trm ~/miniconda.sh", sep = "\n")
+                        "\twget --quiet https://repo.continuum.io/miniconda/Miniconda2-4.0.5-Linux-x86_64.sh -O ./miniconda.sh && \\",
+                        "\t/bin/bash ./miniconda.sh -b -p /opt/conda && \\",
+                        "\trm ./miniconda.sh", sep = "\n")
         
         result <- paste0(result, "\n")
         
@@ -538,9 +538,9 @@ createWorkflows <- function(result, haveR, haveConda) {
         result <- paste0(result, "\n")
         
         result <- paste(result, "RUN echo \'export PATH=/opt/conda/bin:$PATH\' > /etc/profile.d/conda.sh && \\",
-                        "\twget --quiet https://repo.continuum.io/miniconda/Miniconda2-4.0.5-Linux-x86_64.sh -O ~/miniconda.sh && \\",
-                        "\t/bin/bash ~/miniconda.sh -b -p /opt/conda && \\",
-                        "\trm ~/miniconda.sh", sep = "\n")
+                        "\twget --quiet https://repo.continuum.io/miniconda/Miniconda2-4.0.5-Linux-x86_64.sh -O ./miniconda.sh && \\",
+                        "\t/bin/bash ./miniconda.sh -b -p /opt/conda && \\",
+                        "\trm ./miniconda.sh", sep = "\n")
         
         result <- paste0(result, "\n")
         
@@ -606,9 +606,9 @@ createBiocontainer <- function(result, haveR) {
     result <- paste0(result, "\n")
     
     result <- paste(result, "\techo \'export PATH=/opt/conda/bin:$PATH\' > /etc/profile.d/conda.sh && \\",
-                    "\twget --quiet https://repo.continuum.io/miniconda/Miniconda2-4.0.5-Linux-x86_64.sh -O ~/miniconda.sh && \\",
-                    "\t/bin/bash ~/miniconda.sh -b -p /opt/conda && \\",
-                    "\trm ~/miniconda.sh", sep = "\n")
+                    "\twget --quiet https://repo.continuum.io/miniconda/Miniconda2-4.0.5-Linux-x86_64.sh -O ./miniconda.sh && \\",
+                    "\t/bin/bash ./miniconda.sh -b -p /opt/conda && \\",
+                    "\trm ./miniconda.sh", sep = "\n")
     
     result <- paste0(result, "\n")
     
@@ -655,9 +655,9 @@ createBiocontainer <- function(result, haveR) {
     result <- paste0(result, "\n")
     
     result <- paste(result, "RUN echo \'export PATH=/opt/conda/bin:$PATH\' > /etc/profile.d/conda.sh && \\",
-                    "\twget --quiet https://repo.continuum.io/miniconda/Miniconda2-4.0.5-Linux-x86_64.sh -O ~/miniconda.sh && \\",
-                    "\t/bin/bash ~/miniconda.sh -b -p /opt/conda && \\",
-                    "\trm ~/miniconda.sh", sep = "\n")
+                    "\twget --quiet https://repo.continuum.io/miniconda/Miniconda2-4.0.5-Linux-x86_64.sh -O ./miniconda.sh && \\",
+                    "\t/bin/bash ./miniconda.sh -b -p /opt/conda && \\",
+                    "\trm ./miniconda.sh", sep = "\n")
     
     result <- paste0(result, "\n")
     
-- 
GitLab