From ec7da35508f4c3b29e2b4bae56938dcf52ee5443 Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 24 Aug 2025 20:44:40 +0500 Subject: [PATCH] --wip-- [skip ci] --- galias-d.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/galias-d.sh b/galias-d.sh index 152718d..91ea0da 100644 --- a/galias-d.sh +++ b/galias-d.sh @@ -1,11 +1,8 @@ #!/bin/bash -# wget https://g.torshes.ru/alex/galias-d/src/branch/main/galias-d.sh -# sh -c "$(wget https://g.torshes.ru/alex/galias-d/src/branch/main/galias-d.sh -O -)" - # set -x -echo "hey! this is galias-d!" +echo "hey! this is talias-d!" check_apt() { sudo apt install git -y @@ -46,5 +43,9 @@ fi check_apt # Попробовать склонировать репозиторий TALIAS_DIR="$HOME/.talias" -git clone ssh://git@g.torshes.ru:57322/alex/talias.git $TALIAS_DIR +if [ git clone ssh://git@g.torshes.ru:57322/alex/talias.git $TALIAS_DIR ]; then + echo ERROR + return 1 +fi + cat $TALIAS_DIR/README.md