forked from switnet/quick-jibri-installer
Reduce echos
This commit is contained in:
parent
c05db2104d
commit
9645b81f3c
|
@ -32,10 +32,11 @@ 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.
|
||||||
-> https://github.com/switnet-ltd/quick-jibri-installer/issues"
|
If you think this is an error, please report to:
|
||||||
|
-> https://github.com/switnet-ltd/quick-jibri-installer/issues"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue