[ooo-build-commit] .: bin/install-artwork

Petr Mladek pmladek at kemper.freedesktop.org
Fri Apr 16 06:35:49 PDT 2010


 bin/install-artwork |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a8335af751547c4676382a392476e6fe191b615d
Author: Petr Mladek <pmladek at suse.cz>
Date:   Fri Apr 16 15:28:58 2010 +0200

    Fix missing intro.bmp during ooo320-m12 build
    
    * bin/install-artwork: fix check for intro.png to generate intro.bmp
      the right way with ooo320-m12

diff --git a/bin/install-artwork b/bin/install-artwork
index aa86c76..ce87b5b 100755
--- a/bin/install-artwork
+++ b/bin/install-artwork
@@ -42,7 +42,7 @@ if test -d $dest/default_images; then
 		case "`which convert`" in
 		*32/convert) ;;
 		/*) test -f $dest/default_images/introabout/intro.bmp && mv $dest/default_images/introabout/intro.bmp $dest/default_images/introabout/intro-save.bmp
-		    if test $dest/default_images/introabout/intro.png ; then
+		    if test -f $dest/default_images/introabout/intro.png ; then
 			convert $dest/default_images/introabout/intro.png -depth 24 -type TrueColor $dest/default_images/introabout/intro.bmp
 		    else
 			# FIXME: this variant is not-needed after we remove support for ooo320-m12


More information about the ooo-build-commit mailing list