Skip to content

Commit

Permalink
fix: Correct issue with updater run from systemd
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Oct 2, 2023
1 parent 55eccb4 commit cf7dd21
Showing 1 changed file with 1 addition and 0 deletions.
@@ -1,6 +1,7 @@
#!/usr/bin/bash

if [[ $(podman ps -a --no-trunc --format {{.Names}} | grep -E '(^|\s)bazzite-arch($|\s)') ]]; then
unset SUDO_USER # avoid distrobox sudo checks
/usr/bin/distrobox-enter -n bazzite-arch -- ' paru -Sua --noconfirm'
else
echo "Update skipped: bazzite-arch not installed"
Expand Down

0 comments on commit cf7dd21

Please sign in to comment.