SMOLNET PORTAL home about changes
iBe more liberal in git porno dir. - git-porno - Git Porno	Err	bitreich.org	70
hgit clone git://bitreich.org/git-porno git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/git-porno	URL:git://bitreich.org/git-porno git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/git-porno	bitreich.org	70
1Log	/scm/git-porno/log.gph	bitreich.org	70
1Files	/scm/git-porno/files.gph	bitreich.org	70
1Refs	/scm/git-porno/refs.gph	bitreich.org	70
1Tags	/scm/git-porno/tag	bitreich.org	70
1README	/scm/git-porno/file/README.md.gph	bitreich.org	70
1LICENSE	/scm/git-porno/file/LICENSE.gph	bitreich.org	70
i---	Err	bitreich.org	70
1commit 1597e0759c4a242aaad507c273908306f93019c8	/scm/git-porno/commit/1597e0759c4a242aaad507c273908306f93019c8.gph	bitreich.org	70
1parent e0f00bc4118569fc4e31526b346a8dc70658c0d5	/scm/git-porno/commit/e0f00bc4118569fc4e31526b346a8dc70658c0d5.gph	bitreich.org	70
hAuthor: Christoph Lohmann <20h@r-36.net>	URL:mailto:20h@r-36.net	bitreich.org	70
iDate:   Wed, 18 Oct 2023 20:09:44 +0200	Err	bitreich.org	70
i	Err	bitreich.org	70
iBe more liberal in git porno dir.	Err	bitreich.org	70
i	Err	bitreich.org	70
iDiffstat:	Err	bitreich.org	70
i  M git-porno                           |       8 ++++++--	Err	bitreich.org	70
i	Err	bitreich.org	70
i1 file changed, 6 insertions(+), 2 deletions(-)	Err	bitreich.org	70
i---	Err	bitreich.org	70
1diff --git a/git-porno b/git-porno	/scm/git-porno/file/git-porno.gph	bitreich.org	70
i@@ -1,13 +1,17 @@	Err	bitreich.org	70
i #!/bin/sh	Err	bitreich.org	70
i 	Err	bitreich.org	70
i mediadir="${GIT_PORNO_MEDIA:-/usr/local/share/git-porno}"	Err	bitreich.org	70
i-	Err	bitreich.org	70
i-git_porno_cmd() {	Err	bitreich.org	70
i+if ! test -d "$mediadir"	Err	bitreich.org	70
i+then	Err	bitreich.org	70
i+        mediadir="${GIT_PORNO_MEDIA:-/usr/share/git-porno}"	Err	bitreich.org	70
i         if ! test -d "$mediadir"	Err	bitreich.org	70
i         then	Err	bitreich.org	70
i                 printf "error: could not find GIT_PORNO_DIR\n" >&2	Err	bitreich.org	70
i                 exit 1	Err	bitreich.org	70
i         fi	Err	bitreich.org	70
i+fi	Err	bitreich.org	70
i+	Err	bitreich.org	70
i+git_porno_cmd() {	Err	bitreich.org	70
i         mpv --really-quiet --force-window=no --no-video "${mediadir}/git-$1.opus" &	Err	bitreich.org	70
i         git "$@"	Err	bitreich.org	70
i }	Err	bitreich.org	70
.
Response: text/plain
Original URLgopher://bitreich.org/0/scm/git-porno/commit/1597e0759c4a...
Content-Typetext/plain; charset=utf-8