From a571d38862a8799e46568dd32cada2c6042418d4 Mon Sep 17 00:00:00 2001 From: James Wu Date: Wed, 1 Sep 2021 12:27:16 -0700 Subject: [PATCH] installer script regex match bracket fix in Debian version check (#5405) --- Joplin_install_and_update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Joplin_install_and_update.sh b/Joplin_install_and_update.sh index bdea8ee21..ce7cbe299 100755 --- a/Joplin_install_and_update.sh +++ b/Joplin_install_and_update.sh @@ -184,7 +184,7 @@ if command -v lsb_release &> /dev/null; then # Check for "The SUID sandbox helper binary was found, but is not configured correctly" problem. # It is present in Debian 1X. A (temporary) patch will be applied at .desktop file # Linux Mint 4 Debbie is based on Debian 10 and requires the same param handling. - if [ $DISTVER =~ Debian1. ] || [ "$DISTVER" = "Linuxmint4" ] && [ "$DISTCODENAME" = "debbie" ] + if [[ $DISTVER =~ Debian1. ]] || [ "$DISTVER" = "Linuxmint4" ] && [ "$DISTCODENAME" = "debbie" ] then SANDBOXPARAM=" --no-sandbox" fi