[Lunar-commits] <moonbase> fixed Lunar's bugzilla: 0000491: Firefox 4 problem during build

Zbigniew Luszpinski zbiggy at lunar-linux.org
Mon Jul 4 23:33:05 CEST 2011


commit 5d1900db256330d3a6272060017db3af9bd16c4b
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Mon Jul 4 23:33:05 2011 +0200

    fixed Lunar's bugzilla: 0000491: Firefox 4 problem during build
---
 mail/thunderbird5/BUILD |    4 ++--
 web/firefox5/BUILD      |    4 ++--
 web/seamonkey/BUILD     |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/mail/thunderbird5/BUILD b/mail/thunderbird5/BUILD
index 8ca678e..04a0ea9 100644
--- a/mail/thunderbird5/BUILD
+++ b/mail/thunderbird5/BUILD
@@ -68,8 +68,8 @@
   for s in 16 22 24 256 32 48 ; do
     install -Dm 644 mozilla/dist/thunderbird/chrome/icons/default/default${s}.png /usr/share/icons/hicolor/${s}x${s}/apps/thunderbird.png
   done  &&
-  if [ -x /usr/bin/gtk-update-icon-cache ] ; then
-    gtk-update-icon-cache -f /usr/share/icons/hicolor/
+  if [ -x /usr/bin/gtk-update-icon-cache -a -f /usr/share/icons/hicolor/index.theme ]; then
+    gtk-update-icon-cache -f /usr/share/icons/hicolor
   fi
 
 ) > $C_FIFO 2>&1
diff --git a/web/firefox5/BUILD b/web/firefox5/BUILD
index e54aefb..147e687 100644
--- a/web/firefox5/BUILD
+++ b/web/firefox5/BUILD
@@ -89,8 +89,8 @@
   for s in 16 22 24 32 48 256 ; do
     install -Dm 644 ../other-licenses/branding/firefox/default${s}.png /usr/share/icons/hicolor/${s}x${s}/apps/firefox.png
   done  &&
-  if [ -x /usr/bin/gtk-update-icon-cache ] ; then
-    gtk-update-icon-cache -f /usr/share/icons/hicolor/
+  if [ -x /usr/bin/gtk-update-icon-cache -a -f /usr/share/icons/hicolor/index.theme ]; then
+    gtk-update-icon-cache -f /usr/share/icons/hicolor
   fi
 
 ) > $C_FIFO 2>&1
diff --git a/web/seamonkey/BUILD b/web/seamonkey/BUILD
index e6eb272..e502c93 100644
--- a/web/seamonkey/BUILD
+++ b/web/seamonkey/BUILD
@@ -74,8 +74,8 @@
   for s in 16 48 ; do
     install -Dm 644 mozilla/dist/seamonkey/chrome/icons/default/default${s}.png /usr/share/icons/hicolor/${s}x${s}/apps/seamonkey.png
   done  &&
-  if [ -x /usr/bin/gtk-update-icon-cache ] ; then
-    gtk-update-icon-cache -f /usr/share/icons/hicolor/
+  if [ -x /usr/bin/gtk-update-icon-cache -a -f /usr/share/icons/hicolor/index.theme ]; then
+    gtk-update-icon-cache -f /usr/share/icons/hicolor
   fi
 
 ) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list