aboutsummaryrefslogtreecommitdiff
path: root/src/property/apt.lisp
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-03-10 10:54:32 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-03-10 10:54:32 -0700
commitae809cf7d95190ca366f3192499f017ab301d590 (patch)
tree5fa0f282e48b208d7a5876504a07c85517408d87 /src/property/apt.lisp
parentfe46aafabf79d4b468209c487c153a0637c153ee (diff)
downloadconsfigurator-ae809cf7d95190ca366f3192499f017ab301d590.tar.gz
APT::APT-CACHE-POLICY-INSTALLED: use DEFINE-CONSTANT
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/property/apt.lisp')
-rw-r--r--src/property/apt.lisp3
1 files changed, 2 insertions, 1 deletions
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