From 1b813d6851c34238e0e2cddc95f2e5f2375a5367 Mon Sep 17 00:00:00 2001 From: epoch Date: Tue, 22 Dec 2020 02:01:20 -0600 Subject: shorten's install noew doesn't bother with chmod, unless you have a "shorten" group. --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8a87a74..ecdb773 100644 --- a/Makefile +++ b/Makefile @@ -43,5 +43,4 @@ install: all install -t $(PREFIX)/bin data_handler install -t $(PREFIX)/bin unshorten.sh install -t $(PREFIX)/bin shorten - chgrp shorten $(PREFIX)/bin/shorten - chmod g+s $(PREFIX)/bin/shorten + chgrp shorten $(PREFIX)/bin/shorten && chmod g+s $(PREFIX)/bin/shorten -- cgit v1.2.3 From 28d270f93f42ea35964328542c13fc22166efece Mon Sep 17 00:00:00 2001 From: epoch Date: Wed, 23 Dec 2020 18:23:59 -0600 Subject: added urn start to Makefile and use my own rfc site over gopher for urn:ietf:rfc resolution now --- Makefile | 1 + urnstart | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ecdb773..16d2e7c 100644 --- a/Makefile +++ b/Makefile @@ -43,4 +43,5 @@ install: all install -t $(PREFIX)/bin data_handler install -t $(PREFIX)/bin unshorten.sh install -t $(PREFIX)/bin shorten + install -t $(PREFIX)/bin urnstart chgrp shorten $(PREFIX)/bin/shorten && chmod g+s $(PREFIX)/bin/shorten diff --git a/urnstart b/urnstart index 4883b01..ec610c1 100755 --- a/urnstart +++ b/urnstart @@ -20,6 +20,10 @@ fi if [ "$nid" = "ietf" ];then if [ "$nss" = "rfc" ];then - uristart "https://tools.ietf.org/html/rfc""${nss2}" + uristart gopher://thebackupbox.net:70/0/rfc/rfc${nss2}.txt fi fi + +if [ "$nid" = "xkcd" ];then + uristart "https://xkcd.com/${nss}" +fi -- cgit v1.2.3