commit 6f93d020eec4ec533a1c81861335b07f6ffa814f
parent ed0f16cda3ef6cd6f7d8f391462c29a9f3f7b5a6
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 14 Dec 2020 18:09:41 +0100
upload: do not require public target with gopher uploads
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/.local/bin/upload b/.local/bin/upload
@@ -247,10 +247,6 @@ if [ $# -lt 1 ]; then
exit 1
fi
-if [ "$gopher" = 1 ] && [ "$public" = 0 ]; then
- die "gopher (-o) requires public destination (-p)"
-fi
-
if [ "$get" = 1 ] || [ "$delete" = 1 ]; then
if [ "$get" = 1 ]; then
for f in "$@"; do