From 4e5095803d4b74ca74e5c5ba817866df6067c232 Mon Sep 17 00:00:00 2001 From: ajrnz Date: Thu, 30 Nov 2017 23:05:27 +0000 Subject: [PATCH] Don't compress packages using the JDeb debian packager (#1073) --- .../scala/com/typesafe/sbt/packager/debian/JDebPackaging.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/scala/com/typesafe/sbt/packager/debian/JDebPackaging.scala b/src/main/scala/com/typesafe/sbt/packager/debian/JDebPackaging.scala index 2f8f28eee..567b5fb70 100644 --- a/src/main/scala/com/typesafe/sbt/packager/debian/JDebPackaging.scala +++ b/src/main/scala/com/typesafe/sbt/packager/debian/JDebPackaging.scala @@ -87,11 +87,12 @@ object JDebPackaging extends AutoPlugin with DebianPluginLike { fileAndDirectoryProducers(mappings, targetDir) ++ linkProducers(symlinks), conffileProducers(mappings, targetDir) ) + // set compression default to none - in line with native version / allows rsync to be effective + debMaker setCompression "none" debMaker setDepends "" debMaker setDeb debianFile debMaker setControl (targetDir / Names.DebianMaintainerScripts) - // TODO set compression, gzip is default // TODO add signing with setKeyring, setKey, setPassphrase, setSignPackage, setSignMethod, setSignRole debMaker validate () debMaker makeDeb ()