From: Siraaj Khandkar Date: Fri, 26 Nov 2021 20:51:27 +0000 (-0500) Subject: Fix upload hook location X-Git-Tag: 0.26.1 X-Git-Url: https://git.xandkar.net/?p=tt.git;a=commitdiff_plain;h=0868c39af3f0e44b834f6809d2e16b41ad6845ef Fix upload hook location --- diff --git a/info.rkt b/info.rkt index 24b34a3..a975edd 100644 --- a/info.rkt +++ b/info.rkt @@ -6,7 +6,7 @@ (define pkg-desc "twtxt client") (define version - "0.26.0") + "0.26.1") (define pkg-authors '("Siraaj Khandkar ")) (define deps diff --git a/tt.rkt b/tt.rkt index f4c1b85..a893c78 100644 --- a/tt.rkt +++ b/tt.rkt @@ -705,7 +705,7 @@ "r, read : Read the timeline (offline operation)." "d, download : Download the timeline." ; TODO Add path dynamically - "u, upload : Upload your twtxt file (alias to execute ~/.tt/upload)." + "u, upload : Upload your twtxt file (alias to execute ~/.tt/hooks/upload)." "c, crawl : Discover new peers mentioned by known peers (offline operation)." "" #:args (command . args) @@ -739,7 +739,7 @@ #:program "tt upload" #:args () - (if (system (path->string (build-path tt-home-dir "upload"))) + (if (system (path->string (build-path tt-home-dir "hooks" "upload"))) (exit 0) (exit 1)))] [(or "r" "read")