From 4773c02c5945dcd5eb04bbcc76ff2b3192b6d90d Mon Sep 17 00:00:00 2001 From: Ark74 Date: Tue, 26 Jan 2021 16:36:09 -0600 Subject: [PATCH] Remove unnecessary kernel package --- add-jibri-node.sh | 3 +-- quick_jibri_installer.sh | 11 ++++++----- tools/test-jibri-env.sh | 3 +-- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/add-jibri-node.sh b/add-jibri-node.sh index 3744601..c2df403 100644 --- a/add-jibri-node.sh +++ b/add-jibri-node.sh @@ -223,8 +223,7 @@ echo "# Check and Install HWE kernel if possible..." HWE_VIR_MOD=$(apt-cache madison linux-image-generic-hwe-$(lsb_release -sr) 2>/dev/null|head -n1|grep -c "hwe-$(lsb_release -sr)") if [ "$HWE_VIR_MOD" = "1" ]; then apt-get -y install \ - linux-image-generic-hwe-$(lsb_release -sr) \ - linux-modules-extra-virtual-hwe-$(lsb_release -sr) + linux-image-generic-hwe-$(lsb_release -sr) else apt-get -y install \ linux-image-generic \ diff --git a/quick_jibri_installer.sh b/quick_jibri_installer.sh index d33d8df..4ae9160 100644 --- a/quick_jibri_installer.sh +++ b/quick_jibri_installer.sh @@ -35,7 +35,7 @@ if [ "$(dpkg-query -W -f='${Status}' $1 2>/dev/null | grep -c "ok installed")" = echo " This instance already has $1 installed, exiting..." echo " Please try again on a clean system." echo " If you think this is an error, please report to: - -> https://github.com/switnet-ltd/quick-jibri-installer/issues " + -> https://github.com/switnet-ltd/quick-jibri-installer/issues" exit fi } @@ -271,10 +271,12 @@ fi done #Simple DNS test if [ "$PUBLIC_IP" = "$(dig -4 +short $JITSI_DOMAIN)" ]; then -echo "Server public IP & DNS record for $JITSI_DOMAIN seems to match, continuing..." +echo "Server public IP & DNS record for $JITSI_DOMAIN seems to match, continuing... +" else echo "Server public IP ($PUBLIC_IP) & DNS record for $JITSI_DOMAIN don't seem to match." -echo "Please check your dns records are applied and updated. Exiting for now..." +echo "Please check your dns records are applied and updated. Exiting for now... +" exit fi # Requirements @@ -301,8 +303,7 @@ echo "# Check and Install HWE kernel if possible..." HWE_VIR_MOD=$(apt-cache madison linux-image-generic-hwe-$(lsb_release -sr) 2>/dev/null|head -n1|grep -c "hwe-$(lsb_release -sr)") if [ "$HWE_VIR_MOD" = "1" ]; then apt-get -y install \ - linux-image-generic-hwe-$(lsb_release -sr) \ - linux-modules-extra-virtual-hwe-$(lsb_release -sr) + linux-image-generic-hwe-$(lsb_release -sr) else apt-get -y install \ linux-image-generic \ diff --git a/tools/test-jibri-env.sh b/tools/test-jibri-env.sh index 3028eab..39b0e33 100644 --- a/tools/test-jibri-env.sh +++ b/tools/test-jibri-env.sh @@ -106,8 +106,7 @@ if [ -z $SND_AL_MODULE ]; then #First make sure the recommended kernel is installed. if [ "$HWE_VIR_MOD" = "1" ]; then apt-get -y install \ - linux-image-generic-hwe-$(lsb_release -sr) \ - linux-modules-extra-virtual-hwe-$(lsb_release -sr) + linux-image-generic-hwe-$(lsb_release -sr) else apt-get -y install \ linux-image-generic \