XR for Universal Blue and Fedora Atomic Desktops
vr fedora-atomic linux
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

envision: query requested rather than installed packages

Signed-off-by: Shiloh Fen <shiloh@shilohfen.com>

matrixfurry.com d0e3a21c 3e105613

verified
+1 -5
+1 -5
src/atomic-xr/envision.nu
··· 45 45 packages: list<string> 46 46 ] { 47 47 let missing_packages = $packages 48 - | each {|package| 49 - if (rpm -q $package | complete | get exit_code) != 0 { 50 - $package 51 - } 52 - } 48 + | where $it not-in (rpm-ostree status --json | from json | get deployments | first | get requested-packages) 53 49 54 50 if ($missing_packages | is-not-empty) { 55 51 rpm-ostree install ...$missing_packages