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

Configure Feed

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

Added host version checking to ensure dependency match.

authored by

Adriene Hutchins (polyjitter) and committed by
Tangled
7e6fdf6e 19dfd559

+5 -1
+5 -1
src/atomic-xr/envision.nu
··· 14 14 ] { 15 15 runtime install xr (if not $no_monado {"monado"}) 16 16 17 - distrobox create envision --no-entry -Y -i registry.fedoraproject.org/fedora-toolbox:42 17 + let VERSION_ID: string = (open -r /etc/os-release | parse "{k}={v}" | str trim -c '"' | where k == VERSION_ID | get v.0) 18 + 19 + if $VERSION_ID !~ '^\d{2}$' { error make { msg: 'VERSION_ID from /etc/os-release does not match Fedora versioning pattern.' } } 20 + 21 + distrobox create envision --no-entry -Y -i registry.fedoraproject.org/fedora-toolbox:($VERSION_ID) 18 22 distrobox enter envision -- sudo dnf install -y nu 19 23 upgrade 20 24 log info "Successfully installed Envision"