Skip to content

Commit 4e50958

Browse files
ajrnzmuuki88
authored andcommitted
Don't compress packages using the JDeb debian packager (#1073)
1 parent 5739a9c commit 4e50958

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/scala/com/typesafe/sbt/packager/debian/JDebPackaging.scala

+2-1
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,12 @@ object JDebPackaging extends AutoPlugin with DebianPluginLike {
8787
fileAndDirectoryProducers(mappings, targetDir) ++ linkProducers(symlinks),
8888
conffileProducers(mappings, targetDir)
8989
)
90+
// set compression default to none - in line with native version / allows rsync to be effective
91+
debMaker setCompression "none"
9092
debMaker setDepends ""
9193
debMaker setDeb debianFile
9294
debMaker setControl (targetDir / Names.DebianMaintainerScripts)
9395

94-
// TODO set compression, gzip is default
9596
// TODO add signing with setKeyring, setKey, setPassphrase, setSignPackage, setSignMethod, setSignRole
9697
debMaker validate ()
9798
debMaker makeDeb ()

0 commit comments

Comments
 (0)