Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > 61d2fdf8d87672c96202d33aa86747a8 > files > 1

matchbox-window-manager-1.2-30.mga9.src.rpm

#!/bin/sh
# to be sourced
# (c) 2004 Mandrakesoft SA
# (c) 2006,2007 Mandriva SA

use_matchbox=no

# Test if we are booting a live system, or booting a system installed by
# draklive-install for the first time.
[ -f /etc/sysconfig/finish-install ] && . /etc/sysconfig/finish-install
if [ "x$FINISH_INSTALL" = "xyes" -a -x /usr/sbin/finish-install ] ; then
    use_matchbox=yes
fi

# Test if we are running draklive-install directly from the boot menu.
if grep -q '\binstall\b' /proc/cmdline ; then
    use_matchbox=yes
fi

if [ $use_matchbox = "yes" ] ; then
    /usr/bin/drakx-matchbox-window-manager > /dev/null 2>&1 &
    echo $! > /var/run/drakx-matchbox-window-manager.pid
fi