diff options
| author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2025-12-27 22:36:09 +0000 |
|---|---|---|
| committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2026-01-02 21:23:07 +0000 |
| commit | 155dc95efea9d4e0848d18141ed05e697079cb26 (patch) | |
| tree | 3a72a8f22a930837786607f96ab3f88c0ca1e542 | |
| parent | 4965fec003f9d30c42abf369c283f7f484b4944d (diff) | |
| download | draklive-install-155dc95efea9d4e0848d18141ed05e697079cb26.tar draklive-install-155dc95efea9d4e0848d18141ed05e697079cb26.tar.gz draklive-install-155dc95efea9d4e0848d18141ed05e697079cb26.tar.bz2 draklive-install-155dc95efea9d4e0848d18141ed05e697079cb26.tar.xz draklive-install-155dc95efea9d4e0848d18141ed05e697079cb26.zip | |
Improved message at end of installation (mga#34896)
| -rw-r--r-- | NEWS | 2 | ||||
| -rwxr-xr-x | draklive-install | 7 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,5 @@ +- improved message at end of installation (mga#34896) + 2.33 - Better look of Mageia Live Install image diff --git a/draklive-install b/draklive-install index 996d6e3..e264740 100755 --- a/draklive-install +++ b/draklive-install @@ -580,7 +580,12 @@ sub finish_installation { sub display_end_message { my ($in) = @_; $::Wizard_finished = 1; - $in->ask_okcancel(N("Congratulations"), N("Please halt your computer, remove your live system, and restart your computer.")); + my $run_from_boot_menu = grep { $_ =~ /\binstall\b/ } cat_('/proc/cmdline'); + if ($run_from_boot_menu) { + $in->ask_okcancel(N("Congratulations"), N("Installation is complete. Click on the Finish button to restart your computer. Please do not remove the Live medium until the system has shut down.")); + } else { + $in->ask_okcancel(N("Congratulations"), N("Please halt your computer, remove the Live medium, and restart your computer.")); + } } ### |
