--wip-- [skip ci]
This commit is contained in:
11
galias-d.sh
11
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
|
||||
|
||||
Reference in New Issue
Block a user