From 34c7cc95da69260bffee470855f0c060f09c7240 Mon Sep 17 00:00:00 2001 From: swaggboi Date: Mon, 11 Sep 2023 21:36:12 -0400 Subject: [PATCH] Change up user matching stuff --- deb_bugger.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deb_bugger.sh b/deb_bugger.sh index dadac22..adddc6a 100755 --- a/deb_bugger.sh +++ b/deb_bugger.sh @@ -82,7 +82,7 @@ apt-get -y install git libsecret-1-0 libsecret-1-dev build-essential vim \ elpa-dockerfile-mode elpa-web-mode elpa-yaml-mode docker-compose- # Need this for rootless podman -if grep -q '^daniel' /etc/shadow; then +if grep -q '^daniel:' /etc/shadow; then loginctl enable-linger daniel fi @@ -122,7 +122,7 @@ if [ "$(systemctl is-active display-manager)" = 'inactive' ]; then fi # User-specific DESKTOP stuff -if grep -q '^daniel' /etc/shadow; then +if who -u | grep '\(:0\)$' | grep -q '^daniel'; then # PipeWire apt-get -y install wireplumber libspa-0.2-bluetooth \ pipewire-media-session-