1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-08-13 22:12:50 +02:00

Merge pull request #811 from mvonmaltitz/master

Fix ubuntu install script
This commit is contained in:
Laurent Cozic
2018-09-21 12:00:54 +01:00
committed by GitHub

View File

@@ -12,7 +12,7 @@ echo " |_| "
# Get the latest version to download
version=$(curl --silent "https://api.github.com/repos/laurent22/joplin/releases/latest" | grep -Po '"tag_name": "v\K.*?(?=")')
# Delete previous version
rm ~/.joplin/*.AppImage ~/.local/share/applications/joplin.desktop
rm -f ~/.joplin/*.AppImage ~/.local/share/applications/joplin.desktop
# Creates the folder where the binary will be stored
mkdir -p ~/.joplin/
# Download the latest version