mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-21 00:40:01 +00:00
fix: Correct issue where bazzite-arch updater fails if you're using a bazzite-arch image at a non-default name
This commit is contained in:
parent
af5e1fbe37
commit
3621027fdf
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
if [[ $(distrobox list | grep bazzite-arch) ]]; then
|
||||
if [[ $(podman ps -a --no-trunc --format {{.Names}} | grep -E '(^|\s)bazzite-arch($|\s)') ]]; then
|
||||
/usr/bin/distrobox-enter -n bazzite-arch -- ' paru -Sua --noconfirm'
|
||||
else
|
||||
echo "Update skipped: bazzite-arch not installed"
|
||||
|
Loading…
x
Reference in New Issue
Block a user