From fcb893a28265fb9e815b88012c3f2a7d940e3888 Mon Sep 17 00:00:00 2001 From: Joseph Graham Date: Sat, 10 Jun 2017 17:17:34 +0100 Subject: Fixed bug where it basically didn't work at all. --- cron-jobs/make_repo_torrents | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron-jobs/make_repo_torrents b/cron-jobs/make_repo_torrents index b5fed2c..767e182 100755 --- a/cron-jobs/make_repo_torrents +++ b/cron-jobs/make_repo_torrents @@ -46,7 +46,7 @@ find "${public_location}" -name 'os' -type 'd' | while read dir do # Find any packages - find "${dir}" -name '*.pkg.tar.xz' -print0 + find "${dir}" -regex '[^ ]+\.pkg\.tar\.xz' done > "${pkgfilelist}" while read pkg -- cgit v1.2.3