diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2006-03-07 11:16:43 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2006-03-07 11:16:43 +0000 |
commit | c0ca48f32604ae7dce5609230ebf7ce26d4bf699 (patch) | |
tree | 6279bbeb68295bcae028b484b101d96650cdf097 /mdkupdate | |
parent | fa44bed911d47e793dd0a207f692fb185fa485da (diff) | |
download | mgaonline-c0ca48f32604ae7dce5609230ebf7ce26d4bf699.tar mgaonline-c0ca48f32604ae7dce5609230ebf7ce26d4bf699.tar.gz mgaonline-c0ca48f32604ae7dce5609230ebf7ce26d4bf699.tar.bz2 mgaonline-c0ca48f32604ae7dce5609230ebf7ce26d4bf699.tar.xz mgaonline-c0ca48f32604ae7dce5609230ebf7ce26d4bf699.zip |
if run from a live Mandriva one, warn to install on HD first
Diffstat (limited to 'mdkupdate')
-rwxr-xr-x | mdkupdate | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -146,6 +146,10 @@ if (!$bundle) { You need to update to a newer version. You can get a new one from http://start.mandriva.com")); $in->exit(1); } + if (-d '/live/media/loopbacks') { + $in->ask_warn(N("Warning"), N("You first need to install the system on your harddrive with the 'Live Install' wizard.")); + $in->exit(1); + } $res eq 'OK' and $bundle_info = mdkonline::soap_query_bundle($wc, $bundle_vars{BUNDLE}); print Data::Dumper->Dump([ $bundle_info ], [ qw(bundle_info) ]); if ($bundle_info->{status}) { |