mirror of
https://github.com/Morantron/tmux-fingers.git
synced 2026-09-10 07:26:32 -04:00
handle blank url in install-wizard.sh
This commit is contained in:
parent
bbbca3cd4d
commit
41dbe3dba5
|
|
@ -70,6 +70,11 @@ function download_binary() {
|
|||
|
||||
echo "Downloading binary from $url"
|
||||
|
||||
if [[ -z "$url" ]]; then
|
||||
echo "Could not find a release for tmux-fingers. Please try again later."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# download binary to bin/tmux-fingers
|
||||
curl -L $url -o $CURRENT_DIR/bin/tmux-fingers
|
||||
chmod a+x $CURRENT_DIR/bin/tmux-fingers
|
||||
|
|
|
|||
Loading…
Reference in a new issue