[Lunar-commits] <moonbase> flash-plugin-11: indent, run gtk-update-icon-cache
Paul Bredbury
brebs at lunar-linux.org
Sat Mar 5 19:22:45 CET 2011
commit dc2f88b4ae07ba4d6de169f24c9c62b126aba23e
Author: Paul Bredbury <brebs at lunar-linux.org>
Date: Sun Mar 6 01:22:45 2011 +0700
flash-plugin-11: indent, run gtk-update-icon-cache
---
web/flash-plugin-11/BUILD | 19 +++++++++++--------
1 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/web/flash-plugin-11/BUILD b/web/flash-plugin-11/BUILD
index e75b794..fee3dee 100644
--- a/web/flash-plugin-11/BUILD
+++ b/web/flash-plugin-11/BUILD
@@ -5,30 +5,33 @@
install -m755 libflashplayer.so /opt/lunar/plugins/ &&
if [ -d /usr/bin ]; then
- install -m755 usr/bin/* /usr/bin
+ install -m755 usr/bin/* /usr/bin
fi &&
if [ -d /usr/lib/kde4 ]; then
- install -m755 usr/lib/kde4/* /usr/lib/kde4
+ install -m755 usr/lib/kde4/* /usr/lib/kde4
fi &&
if [ -d /usr/share/applications ]; then
- install -m644 usr/share/applications/* /usr/share/applications
+ install -m644 usr/share/applications/* /usr/share/applications
fi &&
if [ -d /usr/share/icons/hicolor ]; then
- cp -af usr/share/icons/hicolor/* /usr/share/icons/hicolor
+ cp -af usr/share/icons/hicolor/* /usr/share/icons/hicolor &&
+ if [ -x /usr/bin/gtk-update-icon-cache ] ; then
+ gtk-update-icon-cache -f /usr/share/icons/hicolor/
+ fi
fi &&
if [ -d /usr/share/kde4/services ]; then
- install -m644 usr/share/kde4/services/* /usr/share/kde4/services
+ install -m644 usr/share/kde4/services/* /usr/share/kde4/services
fi &&
# Enable 3D acceleration using OpenGL
if ! grep -q OverrideGPUValidation /etc/adobe/mms.cfg 2>/dev/null ; then
- # From http://www.nvnews.net/vbulletin/showthread.php?t=148409&page=7
- mkdir -p /etc/adobe/ &&
- echo "OverrideGPUValidation=true" >> /etc/adobe/mms.cfg
+ # From http://www.nvnews.net/vbulletin/showthread.php?t=148409&page=7
+ mkdir -p /etc/adobe/ &&
+ echo "OverrideGPUValidation=true" >> /etc/adobe/mms.cfg
fi &&
if in_depends $MODULE libvdpau ; then
More information about the Lunar-commits
mailing list