me
/
guix
Archived
1
0
Fork 0

home: symlink-manager: Add missing 'done' word in message.

* gnu/home/services/symlink-manager.scm (update-symlinks-script): Add missing
'done' word in message, keep code width below 80 column.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
master
Andrew Tropin 2022-03-11 09:21:41 +03:00 committed by Ludovic Courtès
parent 9e86e58d6f
commit d05954047f
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 13 additions and 11 deletions

View File

@ -107,9 +107,10 @@
(format #t (G_ "Removing ~a...") file)
(delete-file file)
(display (G_ " done\n")))
(format #t
(G_ "Skipping ~a (not a symlink to store)... done\n")
file)))))
(format
#t
(G_ "Skipping ~a (not a symlink to store)... done\n")
file)))))
(const #t) ;down
(lambda (directory stat _) ;up
@ -121,14 +122,15 @@
(format #t (G_ "Removed ~a.\n") directory))
(lambda args
(let ((errno (system-error-errno args)))
(cond ((= ENOTEMPTY errno)
(format
#t
(G_ "Skipping ~a (not an empty directory)...\n")
directory))
((= ENOTDIR errno) #t)
(else
(apply throw args)))))))))
(cond
((= ENOTEMPTY errno)
(format
#t
(G_ "Skipping ~a (not an empty directory)... done\n")
directory))
((= ENOTDIR errno) #t)
(else
(apply throw args)))))))))
(const #t) ;skip
(const #t) ;error
#t ;init