From 57c60c36caba3c3681327883ec72181cb9d67461 Mon Sep 17 00:00:00 2001 From: Aromatic Date: Mon, 4 May 2026 20:21:58 +0800 Subject: [PATCH] scripts/chwd: fix mesa removal guard --- scripts/chwd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/chwd b/scripts/chwd index 85cbf9a..4c44c5f 100755 --- a/scripts/chwd +++ b/scripts/chwd @@ -132,7 +132,7 @@ end local function remove(packages) local pkgs = "" for _, pkg in ipairs(split(packages)) do - if is_installed(pkg) and (pkg ~= "mesa" or pkg ~= "lib32-mesa") then + if is_installed(pkg) and (pkg ~= "mesa" and pkg ~= "lib32-mesa") then pkgs = pkgs .. " " .. pkg end end