Mageia Bugzilla – Attachment 4838 Details for
Bug 11176
F2 doesn't make a screenshot of help screens in drakx-installer-stage2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
I'm considering doing sg like this
11176.diff (text/plain), 512 bytes, created by
Thierry Vignaud
on 2014-01-21 18:17:02 CET
(
hide
)
Description:
I'm considering doing sg like this
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2014-01-21 18:17:02 CET
Size:
512 bytes
patch
obsolete
>diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm >index 4ea10da..07f79e2 100644 >--- a/perl-install/install/any.pm >+++ b/perl-install/install/any.pm >@@ -1370,9 +1370,10 @@ sub screenshot_dir__and_move() { > ($dir0, 'nowarn'); #- it occurs during pkgs install when we are chrooted > } elsif (-e $dir1) { > my $path = "$dir2/DrakX-screenshots"; >- if (-e $path) { >+ if (-d $path) { > cp_af($path, $dir1); > rm_rf($path); >+ symlink($path, $dir1); > } > $dir1; > } else {
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm index 4ea10da..07f79e2 100644 --- a/perl-install/install/any.pm +++ b/perl-install/install/any.pm @@ -1370,9 +1370,10 @@ sub screenshot_dir__and_move() { ($dir0, 'nowarn'); #- it occurs during pkgs install when we are chrooted } elsif (-e $dir1) { my $path = "$dir2/DrakX-screenshots"; - if (-e $path) { + if (-d $path) { cp_af($path, $dir1); rm_rf($path); + symlink($path, $dir1); } $dir1; } else {
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 11176
:
4826
|
4836
| 4838 |
4839
|
4840