Forráskód Böngészése

Update homeassistant-core-install.sh

tweak
tteckster 2 éve
szülő
commit
b90925f553
1 módosított fájl, 33 hozzáadás és 28 törlés
  1. 33 28
      install/homeassistant-core-install.sh

+ 33 - 28
install/homeassistant-core-install.sh

@@ -13,33 +13,38 @@ setting_up_container
 network_check
 network_check
 update_os
 update_os
 
 
-  msg_info "Installing Dependencies, (Patience)"
-  $STD apt-get install -y \
-    git \
-    curl \
-    sudo \
-    mc \
-    python3 \
-    python3-dev \
-    python3-venv \
-    python3-pip \
-    bluez \
-    libffi-dev \
-    libssl-dev \
-    libjpeg-dev \
-    zlib1g-dev \
-    autoconf \
-    build-essential \
-    libopenjp2-7 \
-    libturbojpeg0-dev \
-    ffmpeg \
-    liblapack3 \
-    liblapack-dev \
-    dbus-broker \
-    libpcap-dev \
-    libmariadb-dev-compat \
-    libatlas-base-dev
-  msg_ok "Installed Dependencies"
+msg_info "Installing Dependencies, (Patience)"
+$STD apt-get install -y \
+  git \
+  curl \
+  sudo \
+  mc \
+  bluez \
+  libffi-dev \
+  libssl-dev \
+  libjpeg-dev \
+  zlib1g-dev \
+  autoconf \
+  build-essential \
+  libopenjp2-7 \
+  libturbojpeg0-dev \
+  ffmpeg \
+  liblapack3 \
+  liblapack-dev \
+  dbus-broker \
+  libpcap-dev \
+  libmariadb-dev-compat \
+  libatlas-base-dev
+msg_ok "Installed Dependencies"
+
+msg_info "Updating Python3"
+$STD apt-get install -y \
+  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