mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-24 13:35:29 +00:00
fix core update
This commit is contained in:
parent
98e88174ce
commit
8cdff0aca5
@ -68,12 +68,12 @@ function update_script() {
|
|||||||
if (whiptail --defaultno --title "SELECT BRANCH" --yesno "Use Beta Branch?" 10 58); then
|
if (whiptail --defaultno --title "SELECT BRANCH" --yesno "Use Beta Branch?" 10 58); then
|
||||||
clear
|
clear
|
||||||
header_info
|
header_info
|
||||||
echo -e "${GN}Updating to Version ${BETA}${CL}"
|
echo -e "${GN}Updating to Beta Version${CL}"
|
||||||
BR="--pre "
|
BR="--pre "
|
||||||
else
|
else
|
||||||
clear
|
clear
|
||||||
header_info
|
header_info
|
||||||
echo -e "${GN}Updating to Version ${STABLE}${CL}"
|
echo -e "${GN}Updating to Srable Version${CL}"
|
||||||
BR=""
|
BR=""
|
||||||
fi
|
fi
|
||||||
if [[ "$PY" == "python3.9" ]]; then echo -e "⚠️ Python 3.9 is deprecated and will be removed in Home Assistant 2023.2"; 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]
|
[Install]
|
||||||
WantedBy=default.target" >$service_path
|
WantedBy=default.target" >$service_path
|
||||||
|
|
||||||
systemctl enable --now filebrowser.service &>/dev/null
|
systemctl enable --now -q filebrowser.service
|
||||||
msg_ok "Created Service"
|
msg_ok "Created Service"
|
||||||
|
|
||||||
msg_ok "Completed Successfully!\n"
|
msg_ok "Completed Successfully!\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user