desktop/ion: Tweaks to xinitrc re consolekit usage
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
5a5a9760ce
commit
e5a3a8a37c
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue