From 5f0591566ae3677701b47968d0843f714cb32d76 Mon Sep 17 00:00:00 2001 From: blueingreen68 Date: Wed, 7 Feb 2024 16:20:10 +0500 Subject: update cloneDotfiles.sh --- cloneDotfiles.sh | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/cloneDotfiles.sh b/cloneDotfiles.sh index a1fbf6e..4ff7fb4 100755 --- a/cloneDotfiles.sh +++ b/cloneDotfiles.sh @@ -11,7 +11,7 @@ setStatusE () { setStatusE false getKdbxFile () { - read -r passwordFileLink < <(yadisk-direct https://yadi.sk/d/o4TMFnHFobxTsw) + read -r passwordFileLink < <("$HOME/.local/bin/yadisk-direct" https://yadi.sk/d/o4TMFnHFobxTsw) wget "$passwordFileLink" -O ~/Passwords.kdbx } @@ -22,15 +22,12 @@ openKeepass () { keepassxc-cli clip ~/Passwords.kdbx github 0 -a token-cli } -cat << EOF -Before start ./cloneDotfiles.sh: - pipx install wldhx.yadisk-direct -pipx ensurepath -source .bashrc -and launch ./cloneDotfiles.sh in new foot window -EOF +if [ "$?" -eq 1 ]; then + echo "Ошибка установки wldhx.yadisk-direct... Выход" + exit 1 +fi getKdbxFile -- cgit