From: Simon Ruderich Date: Sun, 7 Mar 2010 20:57:58 +0000 (+0100) Subject: lib.sh: Documentation cleanup. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=cbefa187e16a92224a527819d9cdb02ea5979573;p=config%2Fdotfiles.git lib.sh: Documentation cleanup. --- 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