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 26609e12816133e22ab7ae17261bab8646f22e66
parent 62f13b8e1499c93a0faca76cc8078c74f14f856c
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Tue,  3 Mar 2020 20:58:17 +0100

Fix download of files in public remote dir

Diffstat:
M.local/bin/upload | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.local/bin/upload b/.local/bin/upload @@ -127,7 +127,7 @@ upload_file() { } download_file() { - url="https://$host/npub/$1" + url="https://${host}/${dir}/${1}" if [ -e "$1" ]; then die "error: file '$1' already exists, aboring" fi