Skip to content

Commit cf67896

Browse files
committed
Make conda be really downloaded on first run
1 parent 905ae7c commit cf67896

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

linuxdeploy-plugin-conda.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,10 @@ esac
112112
pushd "$CONDA_DOWNLOAD_DIR"
113113
miniconda_url=https://repo.continuum.io/miniconda/"$miniconda_installer_filename"
114114
# let's make sure the file exists before we then rudimentarily ensure mutual exclusive access to it with flock
115-
touch "$miniconda_installer_filename"
115+
# we set the timestamp to epoch 0; this should likely trigger a redownload for the first time
116+
touch "$miniconda_installer_filename" -d '@0'
117+
118+
# now, let's download the file
116119
flock "$miniconda_installer_filename" wget -N -c "$miniconda_url"
117120
popd
118121

0 commit comments

Comments
 (0)