aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ()