summaryrefslogtreecommitdiffstats
path: root/patches/do_pkgs.patch
blob: f507a970f86bf12161c702ae13171e0e452e113a (plain)
1
2
3
4
5
6
7
8
9
10
11
--- usr/lib/libDrakX/do_pkgs.pm.orig	2016-09-24 00:52:03.106222180 +0100
+++ usr/lib/libDrakX/do_pkgs.pm		2016-09-24 00:52:30.872813374 +0100
@@ -333,7 +333,7 @@
 	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') {