From ae809cf7d95190ca366f3192499f017ab301d590 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Wed, 10 Mar 2021 10:54:32 -0700 Subject: APT::APT-CACHE-POLICY-INSTALLED: use DEFINE-CONSTANT Signed-off-by: Sean Whitton --- src/property/apt.lisp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/property/apt.lisp') diff --git a/src/property/apt.lisp b/src/property/apt.lisp index fe5e655..de5ffc2 100644 --- a/src/property/apt.lisp +++ b/src/property/apt.lisp @@ -58,7 +58,8 @@ (defun apt-cache-policy (packages) (runlines :env '(:LANG "C") "apt-cache" "policy" packages)) -(defparameter apt-cache-policy-installed #?/^\s+Installed:\s+(?!\(none\))/) +(define-constant apt-cache-policy-installed #?/^\s+Installed:\s+(?!\(none\))/ + :test #'string=) (defun all-installed-p (packages) (loop with n = 0 -- cgit v1.2.3