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