[Libreoffice] gunzip -d is not available on every gunzip implementation

Robert Nagy robert at openbsd.org
Wed Nov 3 13:32:08 PDT 2010


Hi

The Subject says everything, not to mention that gunzip will always
decompress, so there is no need for -d.

gunzip: unknown option -- d
usage: gunzip [-cfhlNnqrtVv] [-o filename] [file ...]

--

diff --git a/bin/setup.in b/bin/setup.in
index 6133d77..a802598 100755
--- a/bin/setup.in
+++ b/bin/setup.in
@@ -284,7 +284,7 @@ export SUSE_ASNEEDED=0
 OOO_SCALED_ICONS_VER=ooo-scaled-icons
 OOO_SCALED_ICONS_TARBALL=$OOO_SCALED_ICONS_VER.tar.gz
 OOO_SCALED_ICONS_UNTAR_OPTIONS=xzf
-OOO_SCALED_ICONS_DECOMPRESS_CMD="gunzip -dc"
+OOO_SCALED_ICONS_DECOMPRESS_CMD="gunzip -c"
 
 #
 # up-stream changed the split and names at random
diff --git a/bin/unpack b/bin/unpack
index a576f25..e87e8f7 100755
--- a/bin/unpack
+++ b/bin/unpack
@@ -638,7 +638,7 @@ fi
 
 if test -f $SRCDIR/$APACHE_ANT_TARBALL; then
     $echo_n "Extracting ant $echo_c"
-    (gunzip -dc $SRCDIR/$APACHE_ANT_TARBALL | $GNUTAR xf - )|| exit 1;
+    (gunzip -c $SRCDIR/$APACHE_ANT_TARBALL | $GNUTAR xf - )|| exit 1;
     echo "done";
 else
     echo "Don't need to unpack ant";


More information about the LibreOffice mailing list