diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/actions/install.bash | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/actions/install.bash b/lib/actions/install.bash index 2febdd5..ef43c80 100644 --- a/lib/actions/install.bash +++ b/lib/actions/install.bash @@ -30,6 +30,18 @@ action() { shift $(( OPTIND - 1 )) + # Throw OS-specific warnings, if any + case ${RSTAR_PLATFORM["key"]} in + openbsd) + # Check for userlimits + if [[ -z "$(userinfo "$(whoami)" | awk '$1 == "class" { print $2 }')" ]] + then + warn "Your user does not have a class, this may limit the installer's memory" + warn "usage, which can result in failure to compile." + fi + ;; + esac + # Prepare environment for a reproducible install LC_ALL=C.UTF-8 |