X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=lib.sh;h=e1be32dc9d5ca45ed3a2868af8b4941674b1cc32;hb=c619e7cce2a60f2d435a783ba607ea7b421170b7;hp=93c45cf6645961d1d5b2de75c6cf5b3c8ea943a0;hpb=cbefa187e16a92224a527819d9cdb02ea5979573;p=config%2Fdotfiles.git diff --git a/lib.sh b/lib.sh index 93c45cf..e1be32d 100644 --- a/lib.sh +++ b/lib.sh @@ -18,6 +18,7 @@ installed() { # - Debian (debian) # - Gentoo (gentoo) # - Mac OS X (darwin) +# - Solaris/OpenSolaris (sun) # If an unsupported OS is used an error is printed. os() { if [ -f /etc/debian_version ]; then @@ -26,6 +27,8 @@ os() { echo gentoo elif [ x`uname` = xDarwin ]; then echo darwin + elif [ x`uname` = xSunOS ]; then + echo sun else echo unsupported OS! >&2 return 1