summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/finish-install.xsetup
blob: e80d2e23a7fa731207b3e33799fd0e857969502e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
# (c) 2005-2006 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/10mandriva-release.sh
	xsetroot -cursor_name left_ptr
	/usr/sbin/finish-install
    fi
fi