summaryrefslogtreecommitdiff
path: root/recipes/angstrom/angstrom-gnome-icon-theme-enable.bb
blob: 423dd00588cfa51bef6fa11548c7863876d9bae5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
}