diff options
author | mia <mia@mia.jetzt> | 2024-06-08 22:58:36 -0700 |
---|---|---|
committer | mia <mia@mia.jetzt> | 2024-06-08 22:58:36 -0700 |
commit | 7e729cc2ea889173a89d79737a957cd3dff6e52f (patch) | |
tree | 8dcb0dd3a8b2c7c18bea5fd2838782ffd8982d8d /cgit | |
parent | 8cf813ff033bbc98a7dd40db6ac11e2e35c7e997 (diff) | |
download | asylum-7e729cc2ea889173a89d79737a957cd3dff6e52f.tar.gz asylum-7e729cc2ea889173a89d79737a957cd3dff6e52f.zip |
automatically purge cache for new public repos
Diffstat (limited to 'cgit')
-rwxr-xr-x | cgit/new.sh | 1 |
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 |