diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-05-23 14:25:12 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-05-23 16:55:46 -0700 |
commit | aced98144bda3bd4a2ff392639373444bd861b7a (patch) | |
tree | b17b49fac146e8898e1d885046050949a76b9050 | |
parent | b914693a33ffcf0764ea9bc87bcc573e5ddf9943 (diff) | |
download | consfigurator-aced98144bda3bd4a2ff392639373444bd861b7a.tar.gz |
LOCALE:SELECTED-FOR: avoid always reporting a change & use MRUN
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-rw-r--r-- | src/property/locale.lisp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/property/locale.lisp b/src/property/locale.lisp index 08d8b0f..524a0dc 100644 --- a/src/property/locale.lisp +++ b/src/property/locale.lisp @@ -69,10 +69,10 @@ because it might be required for other applications of this property." (os:required 'os:debianlike)) (:apply (ignoring-hostattrs (available locale)) - (with-change-if-changes-file ("/etc/default/locale") - (run "update-locale" - (mapcar (lambda (v) (strcat v "=" locale)) locale-variables)))) + (with-change-if-changes-file-content ("/etc/default/locale") + (mrun "update-locale" + (mapcar (lambda (v) (strcat v "=" locale)) locale-variables)))) (:unapply (declare (ignore locale)) - (with-change-if-changes-file ("/etc/default/locale") - (run "update-locale" locale-variables)))) + (with-change-if-changes-file-content ("/etc/default/locale") + (mrun "update-locale" locale-variables)))) |