Update homeassistant-core-install.sh

tweak
This commit is contained in:
tteckster 2023-06-20 10:02:58 -04:00 committed by GitHub
parent 8ff4c713be
commit b90925f553
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 33 additions and 28 deletions

View File

@ -13,33 +13,38 @@ setting_up_container
network_check network_check
update_os update_os
msg_info "Installing Dependencies, (Patience)" msg_info "Installing Dependencies, (Patience)"
$STD apt-get install -y \ $STD apt-get install -y \
git \ git \
curl \ curl \
sudo \ sudo \
mc \ mc \
python3 \ bluez \
python3-dev \ libffi-dev \
python3-venv \ libssl-dev \
python3-pip \ libjpeg-dev \
bluez \ zlib1g-dev \
libffi-dev \ autoconf \
libssl-dev \ build-essential \
libjpeg-dev \ libopenjp2-7 \
zlib1g-dev \ libturbojpeg0-dev \
autoconf \ ffmpeg \
build-essential \ liblapack3 \
libopenjp2-7 \ liblapack-dev \
libturbojpeg0-dev \ dbus-broker \
ffmpeg \ libpcap-dev \
liblapack3 \ libmariadb-dev-compat \
liblapack-dev \ libatlas-base-dev
dbus-broker \ msg_ok "Installed Dependencies"
libpcap-dev \
libmariadb-dev-compat \ msg_info "Updating Python3"
libatlas-base-dev $STD apt-get install -y \
msg_ok "Installed Dependencies" python3 \
python3-dev \
python3-pip \
python3-venv
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
msg_ok "Updated Python3"
if [[ "$PCT_OSVERSION" == "11" ]]; then if [[ "$PCT_OSVERSION" == "11" ]]; then
msg_info "Installing pyenv" msg_info "Installing pyenv"
@ -63,7 +68,7 @@ if [[ "$PCT_OSVERSION" == "11" ]]; then
echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init --path)"\nfi' >>~/.bashrc echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init --path)"\nfi' >>~/.bashrc
msg_ok "Installed pyenv" msg_ok "Installed pyenv"
. ~/.bashrc . ~/.bashrc
set -e set -e
msg_info "Installing Python 3.11.3 (Patience)" msg_info "Installing Python 3.11.3 (Patience)"
$STD pyenv install 3.11.3 $STD pyenv install 3.11.3