This commit is contained in:
milisbir 2018-07-19 16:00:54 +03:00
parent b203561906
commit 6bc920b0f6
2 changed files with 6 additions and 3 deletions

4
bin/komutan Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
depo="https://notabug.org/milisarge/komutan"
kuryer="/opt/komutan-0"
cd ${kuryer} && sudo iex -S mix

View File

@ -20,10 +20,9 @@ komutan_gerekler(){
sudo mix deps.get
}
komutan_calistir(){
komutan_kur(){
cd ${kuryer}
komutan_gerekler
sudo iex -S mix
}
if [ ! -d ${paketdepo}/elixir ];then
@ -39,7 +38,7 @@ else
fi
if [ -d ${kuryer} ];then
komutan_calistir
komutan_kur
else
git_hata
fi