blob: c0ee1f33b01e989bc2d1ea1810c0c7ad127a438d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
DESCRIPTION = "Enable tango-icon-theme in gtkrc"
RDEPENDS_${PN} = "tango-icon-theme"
PR = "r1"
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 = "Tango"' >> $D${sysconfdir}/gtk-2.0/gtkrc
}
|