File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -161,32 +161,33 @@ def execute
161161        return  false 
162162      end 
163163
164+       arduino_package  =  "Arduino #{ @desired_ide_version }  
164165      attempts  =  0 
165166
166167      loop  do 
167168        if  File . exist?  package_file 
168-           @output . puts  "Arduino package  seems to have been downloaded already"  if  attempts . zero? 
169+           @output . puts  "#{ arduino_package }   if  attempts . zero? 
169170          break 
170171        elsif  attempts  >= DOWNLOAD_ATTEMPTS 
171172          break  @output . puts  "After #{ DOWNLOAD_ATTEMPTS } #{ package_url }  
172173        else 
173-           @output . print  "Attempting to download Arduino package  with #{ downloader }  
174+           @output . print  "Attempting to download #{ arduino_package } #{ downloader }  
174175          download 
175176          @output . puts 
176177        end 
177178        attempts  += 1 
178179      end 
179180
180181      if  File . exist?  extracted_file 
181-         @output . puts  "Arduino package  seems to have been extracted already" 
182+         @output . puts  "#{ arduino_package }  
182183      elsif  File . exist?  package_file 
183184        @output . print  "Extracting archive with #{ extracter }  
184185        extract 
185186        @output . puts 
186187      end 
187188
188189      if  File . exist?  self . class . force_install_location 
189-         @output . puts  "Arduino package  seems to have been installed already" 
190+         @output . puts  "#{ arduino_package }  
190191      elsif  File . exist?  extracted_file 
191192        install 
192193      else 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments