From 87d4766ca832cc485d68756259b93aea01c7454a Mon Sep 17 00:00:00 2001 From: eeleater Date: Thu, 10 Aug 2023 00:59:04 +0200 Subject: [PATCH] fixed joke to use system curl --- dot_local/bin/executable_joke | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dot_local/bin/executable_joke b/dot_local/bin/executable_joke index ef2e977..6c34e5a 100644 --- a/dot_local/bin/executable_joke +++ b/dot_local/bin/executable_joke @@ -1,8 +1,8 @@ -#!/usr/bin/env bash +##!/usr/bin/env bash case "$1" in "dad") - joke=$(curl -sH "Accept: text/plain" 'https://icanhazdadjoke.com/') + joke=$(/usr/bin/curl -sH "Accept: text/plain" 'https://icanhazdadjoke.com/') echo "Daily Dad Joke: $joke" ;; "bofh") @@ -49,4 +49,4 @@ case "$1" in ;; esac ;; -esac \ No newline at end of file +esac