xrdb: use .sh session script

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4816 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Ross Burton
2008-07-04 09:15:57 +00:00
parent 8fab210b2f
commit fa001bc0b4
2 changed files with 3 additions and 4 deletions

View File

@@ -1,4 +1,3 @@
#!/bin/sh
if [ -e $HOME/.Xdefaults ]; then
xrdb -merge -nocpp < $HOME/.Xdefaults
fi

View File

@@ -4,11 +4,11 @@ DESCRIPTION = "X server resource database utility"
LICENSE = "xrdb"
DEPENDS += "libxmu"
PE = "1"
PR = "r1"
PR = "r2"
SRC_URI += "file://60xXDefaults"
SRC_URI += "file://60XDefaults.sh"
do_install_append() {
install -d ${D}${sysconfdir}/X11/Xsession.d/
install -m 0755 ${WORKDIR}/60xXDefaults ${D}${sysconfdir}/X11/Xsession.d/
install -m 0755 ${WORKDIR}/60XDefaults.sh ${D}${sysconfdir}/X11/Xsession.d/
}