diff --git a/setup/adguard_setup.sh b/setup/adguard_setup.sh index e29e9a5d..93c24680 100644 --- a/setup/adguard_setup.sh +++ b/setup/adguard_setup.sh @@ -25,8 +25,6 @@ function msg() { msg "Setting up Container OS..." sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -apt-get -y purge openssh-{client,server} >/dev/null -apt-get autoremove >/dev/null msg "Updating Container OS..." apt update &>/dev/null diff --git a/setup/debian11_setup.sh b/setup/debian11_setup.sh index 0bca50d1..bac25430 100644 --- a/setup/debian11_setup.sh +++ b/setup/debian11_setup.sh @@ -27,8 +27,6 @@ function msg() { msg "Setting up container OS..." sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -apt-get -y purge openssh-{client,server} >/dev/null -apt-get autoremove >/dev/null # Update container OS msg "Updating container OS..." diff --git a/setup/esphome_setup.sh b/setup/esphome_setup.sh index 86fb104d..9c0b8bc2 100644 --- a/setup/esphome_setup.sh +++ b/setup/esphome_setup.sh @@ -27,8 +27,6 @@ function msg() { msg "Setting up Container OS..." sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -apt-get -y purge openssh-{client,server} >/dev/null -apt-get autoremove >/dev/null # Update container OS msg "Updating container OS..." diff --git a/setup/ha_setup.sh b/setup/ha_setup.sh index be213ee0..55a440bd 100644 --- a/setup/ha_setup.sh +++ b/setup/ha_setup.sh @@ -26,8 +26,6 @@ function msg() { echo -e "${CHECKMARK} \e[1;92m Setting up Container OS... \e[0m" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -apt-get -y purge openssh-{client,server} >/dev/null -apt-get autoremove >/dev/null echo -e "${CHECKMARK} \e[1;92m Updating Container OS... \e[0m" apt update &>/dev/null diff --git a/setup/mariadb_setup.sh b/setup/mariadb_setup.sh index 7824e616..9150147d 100644 --- a/setup/mariadb_setup.sh +++ b/setup/mariadb_setup.sh @@ -27,8 +27,6 @@ function msg() { msg "Setting up container OS..." sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -apt-get -y purge openssh-{client,server} >/dev/null -apt-get autoremove >/dev/null # Update container OS msg "Updating container OS..." diff --git a/setup/mqtt_setup.sh b/setup/mqtt_setup.sh index 31e96b5f..72c98677 100644 --- a/setup/mqtt_setup.sh +++ b/setup/mqtt_setup.sh @@ -27,8 +27,6 @@ function msg() { msg "Setting up Container OS..." sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -apt-get -y purge openssh-{client,server} >/dev/null -apt-get autoremove >/dev/null # Update container OS msg "Updating Container OS..." diff --git a/setup/node-red_setup.sh b/setup/node-red_setup.sh index 0f314261..24db56b9 100644 --- a/setup/node-red_setup.sh +++ b/setup/node-red_setup.sh @@ -29,8 +29,6 @@ apt-get -y purge openssh-{client,server} >/dev/null apt-get autoremove >/dev/null msg "Updating container OS..." -apt update &>/dev/null -apt-get -qqy upgrade &>/dev/null msg "Installing prerequisites..." apt-get -qqy install \ diff --git a/setup/npm_setup.sh b/setup/npm_setup.sh index 53dcb7b0..1a283c79 100644 --- a/setup/npm_setup.sh +++ b/setup/npm_setup.sh @@ -26,8 +26,6 @@ function msg() { echo -e "${CHECKMARK} \e[1;92m Setting up Container OS... \e[0m" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -apt-get -y purge openssh-{client,server} >/dev/null -apt-get autoremove >/dev/null echo -e "${CHECKMARK} \e[1;92m Updating Container OS... \e[0m" apt update &>/dev/null diff --git a/setup/pihole_setup.sh b/setup/pihole_setup.sh index b47a39ff..220f1959 100644 --- a/setup/pihole_setup.sh +++ b/setup/pihole_setup.sh @@ -25,8 +25,6 @@ function msg() { msg "Setting up LXC OS..." sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -apt-get -y purge openssh-{client,server} >/dev/null -apt-get autoremove >/dev/null # Update container OS msg "Updating container OS..." diff --git a/setup/podman_ha_setup.sh b/setup/podman_ha_setup.sh index 66a70e08..08c311fb 100644 --- a/setup/podman_ha_setup.sh +++ b/setup/podman_ha_setup.sh @@ -26,8 +26,6 @@ function msg() { echo -e "${CHECKMARK} \e[1;92m Setting up Container OS... \e[0m" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -apt-get -y purge openssh-{client,server} >/dev/null -apt-get autoremove >/dev/null echo -e "${CHECKMARK} \e[1;92m Updating Container OS... \e[0m" apt update &>/dev/null diff --git a/setup/ubuntu_setup.sh b/setup/ubuntu_setup.sh index 97870853..7f40a0a1 100644 --- a/setup/ubuntu_setup.sh +++ b/setup/ubuntu_setup.sh @@ -26,8 +26,6 @@ function msg() { echo -e "${CHECKMARK} \e[1;92m Setting up Container OS... \e[0m" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -apt-get -y purge openssh-{client,server} >/dev/null -apt-get autoremove >/dev/null echo -e "${CHECKMARK} \e[1;92m Updating Container OS \e[0m" apt update &>/dev/null @@ -52,4 +50,4 @@ systemctl daemon-reload systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//') echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m" -rm -rf /ubuntu_setup.sh /var/{cache,log}/* /var/lib/apt/lists/* \ No newline at end of file +rm -rf /ubuntu_setup.sh /var/{cache,log}/* /var/lib/apt/lists/* diff --git a/setup/zigbee2mqtt_setup.sh b/setup/zigbee2mqtt_setup.sh index fabb3dd6..683f2491 100644 --- a/setup/zigbee2mqtt_setup.sh +++ b/setup/zigbee2mqtt_setup.sh @@ -27,8 +27,6 @@ function msg() { msg "Setting up Container OS..." sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -apt-get -y purge openssh-{client,server} >/dev/null -apt-get autoremove >/dev/null # Update container OS msg "Updating container OS..." diff --git a/setup/zwavejs2mqtt_setup.sh b/setup/zwavejs2mqtt_setup.sh index 02566c86..bb2db5ae 100644 --- a/setup/zwavejs2mqtt_setup.sh +++ b/setup/zwavejs2mqtt_setup.sh @@ -26,8 +26,6 @@ function msg() { echo -e "${CHECKMARK} \e[1;92m Setting up Container OS... \e[0m" sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen locale-gen >/dev/null -apt-get -y purge openssh-{client,server} >/dev/null -apt-get autoremove >/dev/null echo -e "${CHECKMARK} \e[1;92m Updating Container OS... \e[0m" apt update &>/dev/null