Fix Cinnamon Detection (#1828)

$desktop was converted to lowercase, but matched against 'X-Cinnamon'
pull/1852/head
stellarpower 2019-08-29 17:39:10 +01:00 committed by Laurent Cozic
parent d69ba6bc75
commit 5e95278084
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ if [[ ! -e ~/.joplin/VERSION ]] || [[ $(< ~/.joplin/VERSION) != "$version" ]]; t
# Create icon for Gnome
echo 'Create Desktop icon.'
if [[ $desktop =~ .*gnome.*|.*kde.*|.*xfce.*|.*mate.*|.*lxqt.*|.*unity.*|.*X-Cinnamon.* ]]
if [[ $desktop =~ .*gnome.*|.*kde.*|.*xfce.*|.*mate.*|.*lxqt.*|.*unity.*|.*x-cinnamon.* ]]
then
: "${TMPDIR:=/tmp}"
# This command extracts to squashfs-root by default and can't be changed...