summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-11-18 16:13:33 +0100
committerKoen Kooi <koen@openembedded.org>2008-11-18 16:13:33 +0100
commitefd7ea2b71588ec16d2f56ae7635cf3825e89ee5 (patch)
tree22f5a828286fed091f391da6a281cb4c67c869c5 /packages
parentc0893811b94373390e7d0375bcd7797cd4a188de (diff)
angstrom-gnome-icon-theme-enable: meta-package to enable gnome-icon-theme in gtkrc
Diffstat (limited to 'packages')
-rw-r--r--packages/angstrom/angstrom-gnome-icon-theme-enable.bb16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/angstrom/angstrom-gnome-icon-theme-enable.bb b/packages/angstrom/angstrom-gnome-icon-theme-enable.bb
new file mode 100644
index 0000000000..423dd00588
--- /dev/null
+++ b/packages/angstrom/angstrom-gnome-icon-theme-enable.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "Enable gnome-icon-theme in gtkrc"
+LICENSE = "MIT"
+
+RDEPENDS = "gnome-icon-theme"
+
+ALLOW_EMPTY_${PN} = "1"
+PACKAGE_ARCH = "all"
+
+pkg_postinst() {
+#!/bin/sh
+mkdir -p $D${sysconfdir}/gtk-2.0
+touch $D${sysconfdir}/gtk-2.0/gtkrc
+sed -i /gtk-icon-theme-name/d $D${sysconfdir}/gtk-2.0/gtkrc
+echo 'gtk-icon-theme-name = "gnome"' >> $D${sysconfdir}/gtk-2.0/gtkrc
+}
+