• R/O
  • SSH
  • HTTPS

svardos: Commit


Commit MetaInfo

Revision337 (tree)
Time2021-05-20 19:00:25
Authormateuszviste

Log Message

remove only zip files when rebuilding repo, to avoid removing index.php

Change Summary

Incremental Difference

--- build.sh (revision 336)
+++ build.sh (revision 337)
@@ -64,8 +64,8 @@
6464 # function that builds the packages repository
6565 function dorepo {
6666 # clear out the web repo and copy all zip files to it
67- rm "$REPOROOT"/*
68- cp "$PKGDIR"/* "$REPOROOT/"
67+ rm "$REPOROOT"/*.zip
68+ cp "$PKGDIR"/*.zip "$REPOROOT/"
6969 # now strip the sources from repo versions
7070 find "$REPOROOT/" -iname '*.zip' -exec zip "{}" -d "SOURCE/*" ';'
7171 find "$REPOROOT/" -iname '*.zip' -exec zip "{}" -d "source/*" ';'
Show on old repository browser