diff --git a/galias-d.sh b/galias-d.sh index b0f5b04..578c455 100644 --- a/galias-d.sh +++ b/galias-d.sh @@ -5,7 +5,7 @@ echo "hey! this is talias-d!" check_apt() { - sudo apt install git -y + sudo apt install $1 -y } read_ssh_pub_key() { @@ -40,7 +40,7 @@ else read_ssh_pub_key fi -check_apt +check_apt git # Попробовать склонировать репозиторий TALIAS_DIR="$HOME/.talias" if [ $(git clone ssh://git@g.torshes.ru:57322/alex/talias.git $TALIAS_DIR) ]; then