summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/finish-install1
-rwxr-xr-xperl-install/standalone/finish-install.xsetup16
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