package: Fix spacing in user messages.

* guix/scripts/package.scm (guix-package)[process-actions]: Fix spacing.
This commit is contained in:
Ludovic Courtès 2013-05-07 13:23:30 +02:00
parent 6ba3900934
commit 15f67744fe

View file

@ -653,17 +653,17 @@ (define (show-what-to-remove/install remove install dry-run?)
(match install (match install
(((name version _ path _) ..1) (((name version _ path _) ..1)
(let ((len (length name)) (let ((len (length name))
(install (map (cut format #f " ~a-~a\t~a" <> <> <>) (install (map (cut format #f " ~a-~a\t~a" <> <> <>)
name version path))) name version path)))
(if dry-run? (if dry-run?
(format (current-error-port) (format (current-error-port)
(N_ "The following package would be installed:~% ~{~a~%~}~%" (N_ "The following package would be installed:~%~{~a~%~}~%"
"The following packages would be installed:~% ~{~a~%~}~%" "The following packages would be installed:~%~{~a~%~}~%"
len) len)
install) install)
(format (current-error-port) (format (current-error-port)
(N_ "The following package will be installed:~% ~{~a~%~}~%" (N_ "The following package will be installed:~%~{~a~%~}~%"
"The following packages will be installed:~% ~{~a~%~}~%" "The following packages will be installed:~%~{~a~%~}~%"
len) len)
install)))) install))))
(_ #f))) (_ #f)))