aboutsummaryrefslogtreecommitdiff
path: root/src/property/apt.lisp
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-06-16 16:38:31 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-06-17 10:01:43 -0700
commitfe31b0180b61bdb986e0c608094e941581949265 (patch)
treee0f3d12bf12ef76e22a3f996ad6f58032c77dbf9 /src/property/apt.lisp
parente1b10574233c89990f61d620ece53c8292bac0ff (diff)
downloadconsfigurator-fe31b0180b61bdb986e0c608094e941581949265.tar.gz
APT:ADDITIONAL-SOURCES: use FILE:EXISTS-WITH-CONTENT
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/property/apt.lisp')
-rw-r--r--src/property/apt.lisp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/property/apt.lisp b/src/property/apt.lisp
index 1dc6997..490f3f0 100644
--- a/src/property/apt.lisp
+++ b/src/property/apt.lisp
@@ -221,8 +221,8 @@ only upgrade Debian stable."
(defproplist additional-sources :posix (basename content)
"Add additional apt source lines to a file in /etc/apt/sources.list.d named
after BASENAME. CONTENT is as the content argument to FILE:HAS-CONTENT."
- (on-change
- (file:has-content #?"/etc/apt/sources.list.d/${basename}.list" content)
+ (on-change (file:exists-with-content
+ #?"/etc/apt/sources.list.d/${basename}.list" content)
(updated)))
(defprop cache-cleaned :posix ()