diff options
| author | 2024-02-07 16:20:10 +0500 | |
|---|---|---|
| committer | 2024-02-07 16:20:10 +0500 | |
| commit | 5f0591566ae3677701b47968d0843f714cb32d76 (patch) | |
| tree | 273ef82e76aa8e43246b2c5a9d9cdae0701e6d26 | |
| parent | 1937eaa5fc1f6ead6f46a3b4363c73eb6a525e0d (diff) | |
update cloneDotfiles.sh
| -rwxr-xr-x | cloneDotfiles.sh | 13 |
1 files 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 |
