desktop/ion: Tweaks to xinitrc re consolekit usage

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Robby Workman 2010-12-20 20:52:49 -06:00
parent 5a5a9760ce
commit e5a3a8a37c
2 changed files with 2 additions and 4 deletions

View File

@ -8,15 +8,13 @@
PRGNAM=ion
VERSION=3_20090110
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi

View File

@ -11,7 +11,7 @@ test -f $sysmodmap && xmodmap $sysmodmap
test -f $userresources && xrdb -merge $userresources
test -f $usermodmap && xmodmap $usermodmap
if [ -z $DESKTOP_SESSION ]; then
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
exec ck-launch-session ion3
else
exec ion3