From: Ian Kelling Date: Thu, 21 Oct 2021 21:49:06 +0000 (-0400) Subject: bugfix X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=d38034f408f705bbc18dcd022486c6067b1416fe;p=distro-setup bugfix --- diff --git a/filesystem/usr/local/bin/myupgrade-iank b/filesystem/usr/local/bin/myupgrade-iank index 969db8b..ea610ab 100755 --- a/filesystem/usr/local/bin/myupgrade-iank +++ b/filesystem/usr/local/bin/myupgrade-iank @@ -21,7 +21,7 @@ hn=$(hostname -f) has_x=false for pkg in xorg wayland; do - if dpkg -s -- $x |& grep -Fx "Status: install ok installed" &> /dev/null; then + if dpkg -s -- $pkg |& grep -Fx "Status: install ok installed" &> /dev/null; then has_x=true break fi