diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-11-30 21:27:34 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-11-30 21:27:34 +0000 |
commit | 93e6ed646886358366a43f4624fa9156d33d3b4f (patch) | |
tree | 0ce13db851f140170bd278d69945fc9d3831caa4 /perl-install/standalone | |
parent | dc4f67af8cf03f0fdd450399f29a42319d603971 (diff) | |
download | drakx-93e6ed646886358366a43f4624fa9156d33d3b4f.tar drakx-93e6ed646886358366a43f4624fa9156d33d3b4f.tar.gz drakx-93e6ed646886358366a43f4624fa9156d33d3b4f.tar.bz2 drakx-93e6ed646886358366a43f4624fa9156d33d3b4f.tar.xz drakx-93e6ed646886358366a43f4624fa9156d33d3b4f.zip |
add drakx-finish-install
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/finish-install | 1 | ||||
-rwxr-xr-x | perl-install/standalone/finish-install.xsetup | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/perl-install/standalone/finish-install b/perl-install/standalone/finish-install index 352885b8b..0bc5d6e89 100755 --- a/perl-install/standalone/finish-install +++ b/perl-install/standalone/finish-install @@ -50,5 +50,6 @@ sub ask_users() { eval { ask_network() }; eval { ask_authentication() }; eval { ask_users() }; +setVarsInSh('/etc/sysconfig/finish-install', { FINISH_INSTALL => 'no' }); $in->exit(0); diff --git a/perl-install/standalone/finish-install.xsetup b/perl-install/standalone/finish-install.xsetup new file mode 100755 index 000000000..f08bc02d1 --- /dev/null +++ b/perl-install/standalone/finish-install.xsetup @@ -0,0 +1,16 @@ +#!/bin/sh +# (c) 2004 Mandrakesoft 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 |