Explorar o código

Update alpine-esphome.sh

tweak update
tteckster %!s(int64=2) %!d(string=hai) anos
pai
achega
86ec03dc35
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      ct/alpine-esphome.sh

+ 4 - 1
ct/alpine-esphome.sh

@@ -66,7 +66,10 @@ function update_script() {
     header_info
     case $CHOICE in
     1)
-      pip3 install esphome --upgrade
+      msg_info "Updating ESPHome"
+      pip3 install esphome --upgrade &>/dev/null
+      rc-service -q esphome restart
+      msg_ok "Updated Successfully!"
       exit
       ;;
     esac