komutan
This commit is contained in:
		
							parent
							
								
									b203561906
								
							
						
					
					
						commit
						6bc920b0f6
					
				
					 2 changed files with 6 additions and 3 deletions
				
			
		
							
								
								
									
										4
									
								
								bin/komutan
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										4
									
								
								bin/komutan
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
					@ -0,0 +1,4 @@
 | 
				
			||||||
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					depo="https://notabug.org/milisarge/komutan"
 | 
				
			||||||
 | 
					kuryer="/opt/komutan-0" 
 | 
				
			||||||
 | 
					cd ${kuryer} && sudo iex -S mix
 | 
				
			||||||
| 
						 | 
					@ -20,10 +20,9 @@ komutan_gerekler(){
 | 
				
			||||||
	sudo mix deps.get
 | 
						sudo mix deps.get
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
komutan_calistir(){
 | 
					komutan_kur(){
 | 
				
			||||||
	cd ${kuryer}
 | 
						cd ${kuryer}
 | 
				
			||||||
	komutan_gerekler
 | 
						komutan_gerekler
 | 
				
			||||||
	sudo iex -S mix
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [ ! -d ${paketdepo}/elixir ];then 
 | 
					if [ ! -d ${paketdepo}/elixir ];then 
 | 
				
			||||||
| 
						 | 
					@ -39,7 +38,7 @@ else
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [ -d ${kuryer} ];then
 | 
					if [ -d ${kuryer} ];then
 | 
				
			||||||
	komutan_calistir
 | 
						komutan_kur
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
	git_hata
 | 
						git_hata
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue