More echo updates

This commit is contained in:
Luis Guzmán 2020-10-05 03:19:03 -05:00
parent 693a3e601c
commit 0f39230327
2 changed files with 6 additions and 3 deletions

View File

@ -22,12 +22,13 @@ if ! [ $(id -u) = 0 ]; then
fi fi
clear clear
echo ' echo -e '\n
######################################################################## ########################################################################
Jibri Recordings Access via Nextcloud Jibri Recordings Access via Nextcloud
######################################################################## ########################################################################
by Software, IT & Networks Ltd by Software, IT & Networks Ltd
' \n'
while [[ -z "$NC_DOMAIN" ]] while [[ -z "$NC_DOMAIN" ]]
do do
read -p "Please enter the domain to use for Nextcloud: " -r NC_DOMAIN read -p "Please enter the domain to use for Nextcloud: " -r NC_DOMAIN

View File

@ -32,7 +32,9 @@ fi
echo "Checking for updates...." echo "Checking for updates...."
apt -q2 update apt -q2 update
apt install -y apt-show-versions jq apt install -y \
apt-show-versions \
jq
echo -e "\n# Check for jibri\n" echo -e "\n# Check for jibri\n"
if [ "$(dpkg-query -W -f='${Status}' jibri 2>/dev/null | grep -c "ok installed")" == "1" ]; then if [ "$(dpkg-query -W -f='${Status}' jibri 2>/dev/null | grep -c "ok installed")" == "1" ]; then