File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 2323        software-properties-common \
2424        dirmngr \
2525        gnupg && \
26-     add-apt-repository ppa:deadsnakes/ppa && \
26+     if [[ "${PYTHON_VERSION%%.*}"  -eq 3 && "${PYTHON_VERSION#*.}"  -lt 10 ]]; then \
27+         add-apt-repository ppa:deadsnakes/ppa ; \
28+     fi && \
2729    apt-add-repository universe && \
2830    apt-get -y update -qq --fix-missing && \
2931    apt-get -y install --no-install-recommends \
Original file line number Diff line number Diff line change 2929        software-properties-common \
3030        dirmngr \
3131        gnupg && \
32-     add-apt-repository ppa:deadsnakes/ppa && \
32+     if [[ "${PYTHON_VERSION%%.*}"  -eq 3 && "${PYTHON_VERSION#*.}"  -lt 10 ]]; then \
33+         add-apt-repository ppa:deadsnakes/ppa ; \
34+     fi && \
3335    apt-add-repository universe && \
3436    apt-get -y update -qq --fix-missing && \
3537    apt-get -y install --no-install-recommends \
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments