Don't check name if not given

This commit is contained in:
Jay McCarthy 2013-05-22 07:20:13 -06:00
parent a3d791495c
commit 20a9660f11

View File

@ -82,7 +82,7 @@
'install 'install
scope installation shared user scope installation shared user
(lambda () (lambda ()
(unless (package-source->name name) (unless (or (not name) (package-source->name name))
((current-pkg-error) (format "~e is an invalid package name" name))) ((current-pkg-error) (format "~e is an invalid package name" name)))
(with-pkg-lock (with-pkg-lock
(define setup-collects (define setup-collects