dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit a7a63892907557d1c969ed88f3e0a8c2f14ee43b
parent f153fb689bbaa1bad14472d4901acde9ae956fef
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed, 13 Nov 2019 10:27:26 +0100

Display error message if no download program is found

Diffstat:
M.local/bin/upload | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/.local/bin/upload b/.local/bin/upload @@ -115,6 +115,8 @@ download_file() { curl --fail -OL "$url" elif type -v wget >/dev/null 2>&1; then wget "$url" + else + die 'Error: no download program found' fi }