X-Git-Url: http://git.kpe.io/?p=lml2.git;a=blobdiff_plain;f=downloads.lisp;h=6509feea2391f630b54d2d69d032d1d7d969badc;hp=bac84bb967207cebff3faabb25a06f40aefccea7;hb=HEAD;hpb=c995e5549929046c8133e920fa022bce324042e4 diff --git a/downloads.lisp b/downloads.lisp index bac84bb..6509fee 100644 --- a/downloads.lisp +++ b/downloads.lisp @@ -66,7 +66,7 @@ (defun display-footer (dl-data) (when (dl-data-signed dl-data) (lml-princ "

GPG Public Key

") - (lml-princ "Use this key to verify file signtatures")) + (lml-princ "Use this key to verify file signtatures")) (lml-princ "")) (defun print-sect-title (title dl-data) @@ -165,14 +165,24 @@ (w32-path (merge-pathnames (make-pathname :directory '(:relative "win32") :type :wild :name :wild) + base)) + (mac-path (merge-pathnames + (make-pathname :directory '(:relative "mac") + :type :wild :name :wild) + base)) + (linux-path (merge-pathnames + (make-pathname :directory '(:relative "linux") + :type :wild :name :wild) base))) (display-page pkg-name pkg-base dl-base dl-url giturl gitweb `(("Manual" ,doc-path) - ("Source Code" - (("Unix (.tar.gz)" ,tgz-path) - ("Windows (.zip)" ,zip-path))) + ,@(when (or (directory tgz-path) (directory zip-path)) + `(("Source Code" + (("Unix (.tar.gz)" ,tgz-path) + ("Windows (.zip)" ,zip-path))))) ("Binaries" - (("Linux Binaries" - (("Debian Linux" ,deb-path) - ("RedHat Linux" ,rpm-path))) + (("Linux Binaries" ,linux-path) + ("Linux .deb Packages" ,deb-path) + ("Linux .rpm Packages" ,rpm-path) + ("Mac Binaries" ,mac-path) ("Windows Binaries" ,w32-path))))))))