[Lunar-commits] <moonbase> flash-plugin-11: move gtk-update-icon-cache to POST_INSTALL
Michael 'v4hn' Goerner
v4hn at lunar-linux.org
Fri Jun 15 13:50:55 CEST 2012
commit 44103d059bbd5e0cc1b13840e66d434a0da6b223
Author: Michael 'v4hn' Goerner <v4hn at lunar-linux.org>
Date: Fri Jun 15 13:05:13 2012 +0200
flash-plugin-11: move gtk-update-icon-cache to POST_INSTALL
If someone has some spare time: we should write a lunar plugin
doing this for _every_ module which installs something to /usr/share/icons/hicolor
---
web/flash-plugin-11/BUILD | 4 ----
web/flash-plugin-11/POST_INSTALL | 3 +++
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/web/flash-plugin-11/BUILD b/web/flash-plugin-11/BUILD
index a52ebc4..9173dfa 100644
--- a/web/flash-plugin-11/BUILD
+++ b/web/flash-plugin-11/BUILD
@@ -21,10 +21,6 @@
fi
fi &&
- 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 &&
-
# 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
diff --git a/web/flash-plugin-11/POST_INSTALL b/web/flash-plugin-11/POST_INSTALL
new file mode 100644
index 0000000..b8f0cb6
--- /dev/null
+++ b/web/flash-plugin-11/POST_INSTALL
@@ -0,0 +1,3 @@
+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