From 7e729cc2ea889173a89d79737a957cd3dff6e52f Mon Sep 17 00:00:00 2001 From: mia Date: Sat, 8 Jun 2024 22:58:36 -0700 Subject: automatically purge cache for new public repos --- cgit/new.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'cgit/new.sh') diff --git a/cgit/new.sh b/cgit/new.sh index 25f11a1..9e14080 100755 --- a/cgit/new.sh +++ b/cgit/new.sh @@ -16,4 +16,5 @@ ssh -t git@asylum rm $1.git/description '&&' micro $1.git/description if [ $public = y ]; then ssh git@asylum touch $1.git/git-daemon-export-ok + ssh git@asylum rm -r .cache fi -- cgit 1.4.1