summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2016-10-03 21:14:12 +0100
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2016-12-19 21:16:09 +0000
commit04857303877f5655e4f771d5ea7ca107a4d2100d (patch)
treeded8908c88451908ca2982ba1d1a634b8e259dc4
parent9abdf206d39c49113f178ca5254fa1b9ed7a66ff (diff)
downloaddrakx-04857303877f5655e4f771d5ea7ca107a4d2100d.tar
drakx-04857303877f5655e4f771d5ea7ca107a4d2100d.tar.gz
drakx-04857303877f5655e4f771d5ea7ca107a4d2100d.tar.bz2
drakx-04857303877f5655e4f771d5ea7ca107a4d2100d.tar.xz
drakx-04857303877f5655e4f771d5ea7ca107a4d2100d.zip
Enable Live system to install additional packages from local repository.
-rw-r--r--perl-install/do_pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/do_pkgs.pm b/perl-install/do_pkgs.pm
index 043392956..dae13aba8 100644
--- a/perl-install/do_pkgs.pm
+++ b/perl-install/do_pkgs.pm
@@ -333,7 +333,7 @@ sub install {
return 1;
}
- my @wrapper = is_mgalive() ? qw(chroot /mnt/install) : ();
+ my @wrapper = is_mgalive() && -e '/mnt/install' ? qw(chroot /mnt/install) : ();
my @options = ('--allow-medium-change', '--auto', '--no-verify-rpm', '--expect-install', @l);
my $ret;
if (check_for_xserver() && -x '/usr/bin/gurpmi') {