1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-02 12:47:41 +02:00

fix typo in install_and_update.sh (#2051)

This commit is contained in:
m-svo 2019-11-01 14:28:25 +03:00 committed by Laurent Cozic
parent d2a7e46c1a
commit cb06dab16f

View File

@ -98,7 +98,7 @@ if [[ ! -e ~/.joplin/VERSION ]] || [[ $(< ~/.joplin/VERSION) != "$RELEASE_VERSIO
then then
: "${TMPDIR:=/tmp}" : "${TMPDIR:=/tmp}"
# This command extracts to squashfs-root by default and can't be changed... # This command extracts to squashfs-root by default and can't be changed...
# So we run in in the tmp directory and clean up after ourselves # So we run it in the tmp directory and clean up after ourselves
(cd $TMPDIR && ~/.joplin/Joplin.AppImage --appimage-extract joplin.desktop &> /dev/null) (cd $TMPDIR && ~/.joplin/Joplin.AppImage --appimage-extract joplin.desktop &> /dev/null)
APPIMAGE_VERSION=$(grep "^X-AppImage-BuildId=" $TMPDIR/squashfs-root/joplin.desktop | head -n 1 | cut -d " " -f 1) APPIMAGE_VERSION=$(grep "^X-AppImage-BuildId=" $TMPDIR/squashfs-root/joplin.desktop | head -n 1 | cut -d " " -f 1)
rm -rf $TMPDIR/squashfs-root rm -rf $TMPDIR/squashfs-root