diff options
Diffstat (limited to 'patches/do_pkgs.patch')
-rw-r--r-- | patches/do_pkgs.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/do_pkgs.patch b/patches/do_pkgs.patch new file mode 100644 index 0000000..f507a97 --- /dev/null +++ b/patches/do_pkgs.patch @@ -0,0 +1,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') { |