summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/test_torbrowser-launcher.sh8
1 files changed, 6 insertions, 2 deletions
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 <tab> 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 <tab> 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 <tab> 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 <tab> twice more."
+ xvkbd -text "\t\t" > /dev/null 2>&1
+ sleep 1
fi
update_screenshot
echo "$(date -u) - pressing <return>"