Explorar o código

Update pve7_zigbee2mqtt_setup.sh

tteck %!s(int64=4) %!d(string=hai) anos
pai
achega
ff31cab98d
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      pve7_zigbee2mqtt_setup.sh

+ 3 - 3
pve7_zigbee2mqtt_setup.sh

@@ -32,8 +32,8 @@ apt-get autoremove >/dev/null
 
 # Update container OS
 msg "Updating Container OS..."
-apt-get update >/dev/null
-apt-get -qqy upgrade &>/dev/null
+apt update >/dev/null
+apt -qqy upgrade &>/dev/null
 
 # Install prerequisites
 msg "Installing Prerequisites..."
@@ -87,4 +87,4 @@ systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
 
 # Cleanup container
 msg "Cleanup..."
-rm -rf /pve7_zigbee2mqtt_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*
+rm -rf /pve7_zigbee2mqtt_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*