]> code.ossystems Code Review - openembedded-core.git/commitdiff
matchbox-sato: update postinst to work with new initscript functions
authorRoss Burton <ross@openedhand.com>
Tue, 5 Aug 2008 10:47:49 +0000 (10:47 +0000)
committerRoss Burton <ross@openedhand.com>
Tue, 5 Aug 2008 10:47:49 +0000 (10:47 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5021 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/matchbox-sato/matchbox-session-sato_0.1.bb

index 84f2a858aa36bbecae6bf726498b9671d4d096ad..76c8797d4fea0ff719f64adb98d7fb1e391a237f 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "Custom MB session files for poky"
 LICENSE = "GPL"
 SECTION = "x11"
 RDEPENDS = "formfactor gtk-sato-engine matchbox-theme-sato gtk-theme-sato matchbox-panel-2 matchbox-desktop-sato initscripts matchbox-session"
-PR = "r23"
+PR = "r24"
 
 SRC_URI = "file://session"
 S = "${WORKDIR}"
@@ -24,7 +24,7 @@ gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --dire
 gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/icon_theme Sato
 gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type bool --set /desktop/poky/interface/touchscreen true
 
-if [ "`cpuinfo_id`" = "GTA01" ]
+if [ "`machine_id`" = "gta01" ]
 then
     gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/font_name "Sans 6"
 else