File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -10,21 +10,12 @@ install_libusb() {
1010}
1111
1212if  [ -e  " /opt/local/bin/port" ;  then 
13- 	sudo port install wget
14- 	sudo port install libelf
15- 	sudo port install libusb
16- 	sudo port install xz
13+ 	sudo port install wget libelf libusb xz
1714
1815	install_libusb
1916elif  [ -e  " /usr/local/bin/brew" ;  then 
2017	CURRENT_USER=$( stat -f ' %Su' ) 
21- 	sudo -u $CURRENT_USER  brew install wget
22- 	sudo -u $CURRENT_USER  brew install libelf
23- 	sudo -u $CURRENT_USER  brew install libusb
24- 
25- 	sudo -u $CURRENT_USER  brew install libusb-compat
26- 	sudo -u $CURRENT_USER  brew install xz
18+ 	sudo -u $CURRENT_USER  brew install wget libelf libusb libusb-compat xz
2719else 
28- 	echo  " Go install MacPorts from http://www.macports.org/ or Homebrew from http://brew.sh/ first, then we can talk" 
20+ 	echo  " Go install MacPorts from http://www.macports.org/ or Homebrew from http://brew.sh/ first, then we can talk. " 
2921fi 
30- 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments