From d3d22a17d1900134d3cd0f7ac2a51829377c0797 Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Tue, 10 Jun 2014 19:20:55 +0200 Subject: [PATCH] gluon-alfred: use gzip --- package/gluon-alfred/files/lib/gluon/alfred/announce.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/gluon-alfred/files/lib/gluon/alfred/announce.lua b/package/gluon-alfred/files/lib/gluon/alfred/announce.lua index e222949c..f93a7d1e 100755 --- a/package/gluon-alfred/files/lib/gluon/alfred/announce.lua +++ b/package/gluon-alfred/files/lib/gluon/alfred/announce.lua @@ -40,5 +40,5 @@ end encoder = json.Encoder(collect_dir(announce_dir)) -alfred = io.popen('alfred -s ' .. tostring(alfred_data_type), 'w') +alfred = io.popen('gzip | alfred -s ' .. tostring(alfred_data_type), 'w') ltn12.pump.all(encoder:source(), ltn12.sink.file(alfred))