#!/bin/bash
# NOTE installs nginx, postgresql ,python , php , node  , quota for homes 
if ! [[ "8 9 10 11 12 13" == *"$(grep VERSION_ID /etc/os-release | cut -d '"' -f 2 | cut -d '.' -f 1)"* ]];
then
    echo "Debian $(grep VERSION_ID /etc/os-release | cut -d '"' -f 2 | cut -d '.' -f 1) is not currently supported.";
    exit;
fi


true
# shellcheck source=lib.sh
if ! source <(curl -sL https://code.hbues.net/bash/core.sh)
then
    source <(curl -sL https://code.hbues.net/bash/core.sh)
fi


# download nc 
# extract on public_html
# add entry on nginx 
# create db 
# config ...

