summaryrefslogtreecommitdiffstats
path: root/tools/depends/native/dpkg/03-lzma-compression.patch
blob: c9bf5355e661fe4f68b824b18d6c07f9653ec3da (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/dpkg-deb/main.c
+++ b/dpkg-deb/main.c
@@ -195,7 +195,7 @@
   if (compress_params.type == COMPRESSOR_TYPE_UNKNOWN)
     badusage(_("unknown compression type '%s'!"), value);
   if (compress_params.type == COMPRESSOR_TYPE_LZMA)
-    badusage(_("obsolete compression type '%s'; use xz instead"), value);
+    warning(_("obsolete compression type '%s'; use xz instead"), value);
   if (compress_params.type == COMPRESSOR_TYPE_BZIP2)
     badusage(_("obsolete compression type '%s'; use xz or gzip instead"), value);
 }