mirror of
https://github.com/clearml/clearml-agent
synced 2025-02-07 13:26:08 +00:00
Fix apt-get update fail causes apt-get install to not be executed
This commit is contained in:
parent
c3590a53a8
commit
c87da3a079
@ -3641,7 +3641,7 @@ class Worker(ServiceCommandSection):
|
||||
"{python_single_digit}.$i -m pip --version && " +
|
||||
"export LOCAL_PYTHON=$(which {python_single_digit}.$i) && break ; done",
|
||||
"[ ! -z $LOCAL_PYTHON ] || export CLEARML_APT_INSTALL=\"$CLEARML_APT_INSTALL {python_single_digit}-pip\"", # noqa
|
||||
"[ -z \"$CLEARML_APT_INSTALL\" ] || (apt-get update && apt-get install -y $CLEARML_APT_INSTALL)",
|
||||
"[ -z \"$CLEARML_APT_INSTALL\" ] || (apt-get update ; apt-get install -y $CLEARML_APT_INSTALL)",
|
||||
]
|
||||
|
||||
if preprocess_bash_script:
|
||||
|
Loading…
Reference in New Issue
Block a user