diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/musca/musca.SlackBuild | 4 | ||||
-rw-r--r-- | desktop/musca/xinitrc.musca | 26 |
2 files changed, 10 insertions, 20 deletions
diff --git a/desktop/musca/musca.SlackBuild b/desktop/musca/musca.SlackBuild index da3c36f1923c0..01033e57a77b4 100644 --- a/desktop/musca/musca.SlackBuild +++ b/desktop/musca/musca.SlackBuild @@ -32,15 +32,13 @@ PRGNAM=musca VERSION=${VERSION:-0.9.24} -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 diff --git a/desktop/musca/xinitrc.musca b/desktop/musca/xinitrc.musca index 6f928e8b21966..ca388f5d125aa 100644 --- a/desktop/musca/xinitrc.musca +++ b/desktop/musca/xinitrc.musca @@ -7,23 +7,15 @@ sysresources=/etc/X11/xinit/.Xresources sysmodmap=/etc/X11/xinit/.Xmodmap # merge in defaults and keymaps - -if [ -f $sysresources ]; then - xrdb -merge $sysresources -fi - -if [ -f $sysmodmap ]; then - xmodmap $sysmodmap -fi - -if [ -f $userresources ]; then - xrdb -merge $userresources -fi - -if [ -f $usermodmap ]; then - xmodmap $usermodmap -fi +[ -f $sysresources ] && xrdb -merge $sysresources +[ -f $sysmodmap ] && xmodmap $sysmodmap +[ -f $userresources ] && xrdb -merge $userresources +[ -f $usermodmap ] && xmodmap $usermodmap # start some nice programs +if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then + exec ck-launch-session musca +else + exec musca +fi -musca |