mps
This commit is contained in:
		
							parent
							
								
									e6f32f47a2
								
							
						
					
					
						commit
						f46eeab8f6
					
				
					 1 changed files with 4 additions and 3 deletions
				
			
		
							
								
								
									
										7
									
								
								bin/mps
									
										
									
									
									
								
							
							
						
						
									
										7
									
								
								bin/mps
									
										
									
									
									
								
							|  | @ -8,12 +8,13 @@ betikyol="$0" | |||
| shelltip=$(basename `cat $betikyol | head -n1 | cut -d'!' -f2 | cut -d' ' -f1`) | ||||
| 
 | ||||
| # sistem araçlarının tespiti ve atanması | ||||
| if [ ${shelltip} = "busybox" ] || [ ${shelltip} = "ash" ];then | ||||
| #if [ ${shelltip} = "busybox" ] || [ ${shelltip} = "ash" ];then | ||||
| if [ ${BASH_VERSION} ];then | ||||
| 	wget_progress="--show-progress" | ||||
| else | ||||
| 	alias sed="busybox sed" | ||||
| 	alias wget="busybox wget" | ||||
| 	wget_progress="" | ||||
| else | ||||
| 	wget_progress="--show-progress" | ||||
| fi | ||||
| #alias sed="sed" | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue