fix core update

pull/1251/head
tteckster 2 years ago committed by GitHub
parent 98e88174ce
commit 8cdff0aca5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -68,12 +68,12 @@ function update_script() {
if (whiptail --defaultno --title "SELECT BRANCH" --yesno "Use Beta Branch?" 10 58); then
clear
header_info
echo -e "${GN}Updating to Version ${BETA}${CL}"
echo -e "${GN}Updating to Beta Version${CL}"
BR="--pre "
else
clear
header_info
echo -e "${GN}Updating to Version ${STABLE}${CL}"
echo -e "${GN}Updating to Srable Version${CL}"
BR=""
fi
if [[ "$PY" == "python3.9" ]]; then echo -e "⚠️ Python 3.9 is deprecated and will be removed in Home Assistant 2023.2"; fi
@ -125,7 +125,7 @@ ExecStart=/usr/local/bin/filebrowser -r /root/.homeassistant
[Install]
WantedBy=default.target" >$service_path
systemctl enable --now filebrowser.service &>/dev/null
systemctl enable --now -q filebrowser.service
msg_ok "Created Service"
msg_ok "Completed Successfully!\n"

Loading…
Cancel
Save

Powered by BW's shoe-string budget.