From 0868c39af3f0e44b834f6809d2e16b41ad6845ef Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Fri, 26 Nov 2021 15:51:27 -0500 Subject: [PATCH] Fix upload hook location --- info.rkt | 2 +- tt.rkt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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") -- 2.20.1