commit 51fa4ce3acfea5f60a7819d5684fab863c8eaa21
parent b86b5e29221a4ea88bda3d2225e7a6e063016223
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 14 Nov 2019 19:10:47 +0100
Fix download option
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/.local/bin/linkhandler b/.local/bin/linkhandler
@@ -53,9 +53,7 @@ handle_url() {
"comic")
nohup comic "$url" >/dev/null 2>&1 & ;;
"download")
- if type -v hurl >/dev/null 2>&1; then
- echo "hurl '$url' >/dev/null" | at now
- elif type -v hurl >/dev/null 2>&1; then
+ if type -v curl >/dev/null 2>&1; then
echo "curl -LO '$url' >/dev/null" | at now
elif type -v wget >/dev/null 2>&1; then
echo "wget '$url' >/dev/null" | at now