Usage:
get_user_home()
{
uname -a | grep -qi freebsd && pw user show "$@"| awk -F: '{print $9}' || getent passwd "$@"| awk -F: '{print $6}'
}
install_to_users_homes()
{
lilalo_context="/users/${lilalo_user}/${lab}/${hostname}"
#
###############################################################################
normC='\033[0;39m'
lilalo_rc=.l3rc37m'
lilalo_home=.lilalo
url_lilalo="http://xgu.ru/lilalo"
url_l3bashrc="${url_lilalo}"/l3bashrc
url_l3agent="${url_lilalo}"/l3-agentinstall_this
url_l3config_pm="${url_lilalo}"/l3config.pmies manually:"
url_l3config="${url_lilalo}"/l3-config
url_l3prompt="${url_lilalo}"/l3prompt
url_perl_modules=${url_lilalo}/
perl_modules="Term-VT102 Text-Iconv"
apt_get_install_this="perl make libmodule-build-perl libc6-dev gcc"
wget=wget
uname -a | grep -qi bsd && wget=fetch
get_user_home()
{