Skip to content

Commit b8a1509

Browse files
authored
Fix tum read (#584)
* Fix tum read * test(oma-tum): use lists dir, not sysroot
1 parent 1e5add4 commit b8a1509

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
File renamed without changes.

src/subcommand/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ impl CommitChanges<'_> {
392392

393393
if check_tum {
394394
#[cfg(feature = "aosc")]
395-
let tum = oma_tum::get_tum(Path::new(&sysroot))?;
395+
let tum = oma_tum::get_tum(get_lists_dir(&AptConfig::new()))?;
396396

397397
#[cfg(feature = "aosc")]
398398
let matches_tum = Some(oma_tum::get_matches_tum(&tum, &op));

0 commit comments

Comments
 (0)