Reduce echos

This commit is contained in:
Luis Guzmán 2021-02-17 19:02:59 -06:00
parent c05db2104d
commit 9645b81f3c
1 changed files with 5 additions and 4 deletions

View File

@ -32,10 +32,11 @@ CR=`echo $'\n> '`
exit_ifinstalled() {
if [ "$(dpkg-query -W -f='${Status}' $1 2>/dev/null | grep -c "ok installed")" == "1" ]; then
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"
echo "
This instance already has $1 installed, exiting...
Please try again on a clean system.
If you think this is an error, please report to:
-> https://github.com/switnet-ltd/quick-jibri-installer/issues"
exit
fi
}