summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Graham <joseph@xylon.me.uk>2017-06-10 17:17:34 +0100
committerJoseph Graham <joseph@xylon.me.uk>2017-06-10 17:17:34 +0100
commitfcb893a28265fb9e815b88012c3f2a7d940e3888 (patch)
tree717adb840b3ef9b833beab0e719901d64ec21b18
parent961f0c5355e12120955d3dec08162237e5096c2b (diff)
Fixed bug where it basically didn't work at all.HEADmaster
-rwxr-xr-xcron-jobs/make_repo_torrents2
1 files changed, 1 insertions, 1 deletions
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