Mageia Bugzilla – Attachment 7896 Details for
Bug 16323
transfugdrake needs to be adapted to recent Windows versions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
My proposed patch
transfugdrake-v1.patch (text/plain), 517 bytes, created by
Shlomi Fish
on 2016-06-03 08:04:31 CEST
(
hide
)
Description:
My proposed patch
Filename:
MIME Type:
Creator:
Shlomi Fish
Created:
2016-06-03 08:04:31 CEST
Size:
517 bytes
patch
obsolete
>diff --git a/transfugdrake.pm b/transfugdrake.pm >index 9df4764..174ca87 100755 >--- a/transfugdrake.pm >+++ b/transfugdrake.pm >@@ -36,7 +36,9 @@ sub get_windows_disk() { > > my @win_devices = grep { fs::type::isFat_or_NTFS($_) && fs::type::isMounted($_) } @$fstab; > find { >- get_windows_system_path($_, "system32/config/software"); >+ my $mnt = $_; >+ get_windows_system_path($mnt, "system32/config/software") >+ || get_windows_system_path($mnt, "syswow64/config"); > } map { $_->{mntpoint} } @win_devices; > } >
diff --git a/transfugdrake.pm b/transfugdrake.pm index 9df4764..174ca87 100755 --- a/transfugdrake.pm +++ b/transfugdrake.pm @@ -36,7 +36,9 @@ sub get_windows_disk() { my @win_devices = grep { fs::type::isFat_or_NTFS($_) && fs::type::isMounted($_) } @$fstab; find { - get_windows_system_path($_, "system32/config/software"); + my $mnt = $_; + get_windows_system_path($mnt, "system32/config/software") + || get_windows_system_path($mnt, "syswow64/config"); } map { $_->{mntpoint} } @win_devices; }
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 16323
:
6825
|
6874
|
6879
| 7896