[gnome-boxes] unattended-installer: Use correct cache path
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] unattended-installer: Use correct cache path
- Date: Tue, 22 Apr 2014 17:24:56 +0000 (UTC)
commit a6c6c2dcf9423dc8441d7f6f7395a6f97dd26b81
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Tue Apr 22 18:17:11 2014 +0100
unattended-installer: Use correct cache path
d4bd651 caused a regression, where unattended installation setup failed
for OSes for which we download drivers (win7 and winxp) if the driver
files only exist in system cache since the code still tried to use the
user cache for all situations.
This patches fixes the issue by using the cache where there the file
exists/is downloaded.
src/unattended-installer.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/unattended-installer.vala b/src/unattended-installer.vala
index d80a232..63aab12 100644
--- a/src/unattended-installer.vala
+++ b/src/unattended-installer.vala
@@ -513,7 +513,7 @@ private class Boxes.UnattendedInstaller: InstallerMedia {
file = yield downloader.download (file, cached_paths, file_progress);
file_progress.progress = 1.0; // Ensure progress reaches 100%
- driver_files.append (new UnattendedRawFile (this, cached_path, filename));
+ driver_files.append (new UnattendedRawFile (this, file.get_path (), filename));
}
// We don't do this in above loop to ensure we have all the driver files
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]