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