summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/finish-install.xsetup
blob: 1b53e9ff8bf2c00a645010e727558964f9346a6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
# (c) 2005-2008 Mandriva SA

# to be sourced
if [ -f /etc/sysconfig/finish-install -a -x /usr/sbin/finish-install ]; then
    . /etc/sysconfig/finish-install
    if [ "$FINISH_INSTALL" = yes ]; then
	if [ -r /etc/sysconfig/i18n -o -r /etc/locale.conf ]; then
	    if [ -r /etc/locale.conf ]; then
	        . /etc/locale.conf
	    else
	        . /etc/sysconfig/i18n
	    fi
	    export LANGUAGE LC_ADDRESS LC_COLLATE LC_NAME LC_NUMERIC LC_MEASUREMENT LC_TIME \
	    LANG LC_IDENTIFICATION LC_MESSAGES LC_CTYPE LC_TELEPHONE LC_MONETARY LC_PAPER
	fi
	. /etc/profile.d/10mageia-release.sh
	xsetroot -cursor_name left_ptr
	/usr/sbin/finish-install
	# used in live systems, so that dm gets restarted with the new defaults
	touch /var/lock/reload-dm
    fi
fi