[Lunar-commits] <moonbase> flash-plugin-1[01]: do not fail if no hicolor theme installed yet
Zbigniew Luszpinski
zbiggy at lunar-linux.org
Sun May 29 20:46:42 CEST 2011
commit bc8fa410fc1dd134c4a14108ca43782c7b7b1360
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date: Sun May 29 20:46:42 2011 +0200
flash-plugin-1[01]: do not fail if no hicolor theme installed yet
---
web/flash-plugin-10/BUILD | 2 +-
web/flash-plugin-11/BUILD | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/flash-plugin-10/BUILD b/web/flash-plugin-10/BUILD
index c848c29..a2ef575 100644
--- a/web/flash-plugin-10/BUILD
+++ b/web/flash-plugin-10/BUILD
@@ -9,7 +9,7 @@
install -Dm755 libflashplayer.so /opt/lunar/plugins/libflashplayer.so &&
cp -a usr / &&
- if [ -x /usr/bin/gtk-update-icon-cache ] ; then
+ 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 &&
diff --git a/web/flash-plugin-11/BUILD b/web/flash-plugin-11/BUILD
index c848c29..a2ef575 100644
--- a/web/flash-plugin-11/BUILD
+++ b/web/flash-plugin-11/BUILD
@@ -9,7 +9,7 @@
install -Dm755 libflashplayer.so /opt/lunar/plugins/libflashplayer.so &&
cp -a usr / &&
- if [ -x /usr/bin/gtk-update-icon-cache ] ; then
+ 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 &&
More information about the Lunar-commits
mailing list