summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/finish-install.xsetup
blob: aebe4db2898223655d21e886b832f988d6920b67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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 ]; then
	    . /etc/sysconfig/i18n
	    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