forked from vieter-v/vieter
Bumped v release; files are now served properly
This commit is contained in:
parent
3c0b7156c1
commit
8a0beffbe2
5 changed files with 11 additions and 10 deletions
|
|
@ -44,9 +44,8 @@ fn (r &Repo) sync() ? {
|
|||
C.archive_write_add_filter_gzip(a_files)
|
||||
C.archive_write_set_format_pax_restricted(a_files)
|
||||
|
||||
// TODO add symlink to .tar.gz version
|
||||
db_path := os.join_path_single(r.repo_dir, 'repo.db')
|
||||
files_path := os.join_path_single(r.repo_dir, 'repo.files')
|
||||
db_path := os.join_path_single(r.repo_dir, 'vieter.db.tar.gz')
|
||||
files_path := os.join_path_single(r.repo_dir, 'vieter.files.tar.gz')
|
||||
|
||||
C.archive_write_open_filename(a_db, &char(db_path.str))
|
||||
C.archive_write_open_filename(a_files, &char(files_path.str))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue