From 5097fef19b595b2148dda883e534b4c1c3f90a67 Mon Sep 17 00:00:00 2001 From: Ark74 Date: Sat, 11 Apr 2020 05:38:36 -0500 Subject: [PATCH] Remove wrong if --- quick_jibri_installer.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/quick_jibri_installer.sh b/quick_jibri_installer.sh index 670b027..03ad289 100644 --- a/quick_jibri_installer.sh +++ b/quick_jibri_installer.sh @@ -33,7 +33,6 @@ fi if [ $DIST = etiona ]; then DIST="bionic" fi -if install_ifnot() { if [ "$(dpkg-query -W -f='${Status}' $1 2>/dev/null | grep -c "ok installed")" == "1" ]; then echo " $1 is installed, skipping..." @@ -204,9 +203,9 @@ GCMP_JSON="/etc/opt/chrome/policies/managed/managed_policies.json" echo "# Installing Google Chrome / ChromeDriver" if [ -f $GOOGL_REPO ]; then -echo "Google repository already set." + echo "Google repository already set." else -echo "Installing Google Chrome Stable" + echo "Installing Google Chrome Stable" wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add - echo "deb http://dl.google.com/linux/chrome/deb/ stable main" | tee $GOOGL_REPO fi