🗝
summary refs log tree commit diff
path: root/cgit/new.sh
diff options
context:
space:
mode:
authormia <mia@mia.jetzt>2024-06-08 22:58:36 -0700
committermia <mia@mia.jetzt>2024-06-08 22:58:36 -0700
commit7e729cc2ea889173a89d79737a957cd3dff6e52f (patch)
tree8dcb0dd3a8b2c7c18bea5fd2838782ffd8982d8d /cgit/new.sh
parent8cf813ff033bbc98a7dd40db6ac11e2e35c7e997 (diff)
downloadasylum-7e729cc2ea889173a89d79737a957cd3dff6e52f.tar.gz
asylum-7e729cc2ea889173a89d79737a957cd3dff6e52f.zip
automatically purge cache for new public repos
Diffstat (limited to 'cgit/new.sh')
-rwxr-xr-xcgit/new.sh1
1 files changed, 1 insertions, 0 deletions
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