File tree 1 file changed +1
-3
lines changed
rust-install/src/manifest 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -153,8 +153,6 @@ impl Manifestation {
153
153
154
154
// First load dist and packages manifests
155
155
let prefix = components. prefix ( ) ;
156
- let dist_path = prefix. manifest_file ( DIST_MANIFEST ) ;
157
- let dist_manifest = try!( Manifest :: parse ( & * try!( utils:: read_file ( "dist manifest" , & dist_path) ) ) ) ;
158
156
let rel_packages_path = prefix. rel_manifest_file ( PACKAGES_MANIFEST ) ;
159
157
let packages_path = prefix. abs_path ( & rel_packages_path) ;
160
158
let packages_manifest = try!( Manifest :: parse ( & * try!( utils:: read_file ( "packages manifest" , & packages_path) ) ) ) ;
@@ -180,7 +178,7 @@ impl Manifestation {
180
178
181
179
// Update packages manifest
182
180
try!( tx. modify_file ( rel_packages_path) ) ;
183
- try!( utils:: write_file ( "packages manifest" , & packages_path, & new_manifest_str ) ) ;
181
+ try!( utils:: remove_file ( "packages manifest" , & packages_path) ) ;
184
182
185
183
// End transaction
186
184
tx. commit ( ) ;
You can’t perform that action at this time.
0 commit comments