From fe31b0180b61bdb986e0c608094e941581949265 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Wed, 16 Jun 2021 16:38:31 -0700 Subject: APT:ADDITIONAL-SOURCES: use FILE:EXISTS-WITH-CONTENT Signed-off-by: Sean Whitton --- src/property/apt.lisp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/property/apt.lisp') 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 () -- cgit v1.2.3