Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


---
 bin/install-artwork |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/bin/install-artwork b/bin/install-artwork
index 7695e4a..621cde3 100755
--- a/bin/install-artwork
+++ b/bin/install-artwork
@@ -7,6 +7,12 @@ dest=$2
 
 echo "do artwork tweaks ..."
 
+if test "z`uname -s`" = "zOpenBSD"; then
+       TAR=gtar
+else
+       TAR=tar
+fi
+
 if test -d $dest/setup_native; then
        mkdir -p $dest/setup_native/source/win32/nsis
        cp $src/ooobitmap_*.bmp $dest/setup_native/source/win32/nsis/ || echo "no nsis installer 
images to copy"
@@ -43,7 +49,7 @@ if test -d $dest/default_images; then
        cp $src/layout/*.png $dest/default_images/res/commandimagelist
        cp $src/layout/*.png $dest/ooo_custom_images/industrial/res/commandimagelist
        cp $src/layout/*.png $dest/ooo_custom_images/tango/res/commandimagelist
-       tar -C $src/layout --exclude=.svn -cf- default_images ooo_custom_images | tar -C $dest -xf-
+       ${TAR} -C $src/layout --exclude=.svn -cf- default_images ooo_custom_images | tar -C $dest 
-xf-
 
        # Extra command images
        cp -f $src/icons/*.png $dest/default_images/res/commandimagelist/ || exit 1
-- 
1.7.3.1


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.