From cbefa187e16a92224a527819d9cdb02ea5979573 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 7 Mar 2010 21:57:58 +0100 Subject: [PATCH] lib.sh: Documentation cleanup. --- lib.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib.sh b/lib.sh index 49ce998..93c45cf 100644 --- a/lib.sh +++ b/lib.sh @@ -14,9 +14,11 @@ installed() { which $1 2>&1 | perl -ne 'if (not m{^/}) { exit 1 }' } -# Prints the current OS. Supported are Debian (debian), Gentoo (gentoo) and -# Mac OS X (darwin) at the moment. If an unsupported OS is used an error is -# printed. +# Print the current OS. The following OS are supported at the moment: +# - Debian (debian) +# - Gentoo (gentoo) +# - Mac OS X (darwin) +# If an unsupported OS is used an error is printed. os() { if [ -f /etc/debian_version ]; then echo debian -- 2.43.2