From 1a9ef1a3ce50ffcc8490743398dbefc69e72e2c6 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 12 Jul 2016 20:43:14 +0200 Subject: torbrowser tests: try to adopt for tbl >=0.2.5-1~ --- bin/test_torbrowser-launcher.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/test_torbrowser-launcher.sh b/bin/test_torbrowser-launcher.sh index 2b60f97c..95d874da 100755 --- a/bin/test_torbrowser-launcher.sh +++ b/bin/test_torbrowser-launcher.sh @@ -275,10 +275,14 @@ download_and_launch() { echo "$(date -u) - torbrowser-launcher version <0.2.2-1~ detected ($TBL_VERSION), pressing twice more." xvkbd -text "\t\t" > /dev/null 2>&1 sleep 1 - elif dpkg --compare-versions $TBL_VERSION gt 0.2.3-1~ ; then - echo "$(date -u) - torbrowser-launcher version >0.2.3-1~ detected ($TBL_VERSION), pressing once more." + elif dpkg --compare-versions $TBL_VERSION gt 0.2.3-1~ && dpkg --compare-versions $TBL_VERSION lt 0.2.5-1~ && ; then + echo "$(date -u) - torbrowser-launcher version >0.2.3-1~ <0.2.5-1~ detected ($TBL_VERSION), pressing once more." xvkbd -text "\t" > /dev/null 2>&1 sleep 1 + elif dpkg --compare-versions $TBL_VERSION ge 0.2.5-1~ ; then + echo "$(date -u) - torbrowser-launcher version >=0.2.5-1~ detected ($TBL_VERSION), pressing twice more." + xvkbd -text "\t\t" > /dev/null 2>&1 + sleep 1 fi update_screenshot echo "$(date -u) - pressing " -- cgit v1.2.3-70-g09d2