shithub: shithub

Download patch

ref: c2b0729c4f61007cbdb1d1a06056675da8d6a574
parent: 3058bd61b2bdb7ecd3ca3bf5eba5e2e88ff28eb3
author: ori <ori@repoman>
date: Tue Jul 1 11:52:27 EDT 2025

install: cope better with new setups

--- a/list
+++ b/list
@@ -26,7 +26,7 @@
 		echo $intro
 	
 	udir=()
-	for(repo in `$nl{ls */}){
+	for(repo in `$nl{ls */ >[2]/dev/null || echo}){
 		ndir=`{basename -d $repo}
 		if(! ~ $udir $ndir)
 			echo '</dl>'
--- a/mkfile
+++ b/mkfile
@@ -31,4 +31,6 @@
 	cp $LIBFILES /sys/lib/shithub
 	cp $RCFILES /rc/bin
 	cp $WEBFILES /usr/web
-	cp gitrules /sys/lib/tcp80
+	cp gitrules /sys/lib/tcp80/gitrules
+	mkdir -p /usr/web/cache && chmod 777 /usr/web/cache
+	mkdir -p /usr/web/static
--