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