mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-24 08:12:24 +02:00
Prevent the folder from being deleted
This commit is contained in:
parent
de0c54c3c3
commit
dcf78e8a06
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
version=$(curl --silent "https://api.github.com/repos/laurent22/joplin/releases/latest" | grep -Po '"tag_name": "v\K.*?(?=")')
|
||||
rm -r ~/.joplin/ ~/.local/share/applications/joplin.desktop
|
||||
rm ~/.joplin/*.AppImage ~/.local/share/applications/joplin.desktop
|
||||
mkdir -p ~/.joplin/
|
||||
wget -O ~/.joplin/Joplin-$version-x86_64.AppImage https://github.com/laurent22/joplin/releases/download/v$version/Joplin-$version-x86_64.AppImage
|
||||
chmod +x ~/.joplin/Joplin-$version-x86_64.AppImage
|
||||
|
Loading…
Reference in New Issue
Block a user