jjr-joplin/joplin-desktop.sh

14 lines
171 B
Bash
Raw Normal View History

2018-04-18 18:26:44 +02:00
#!/bin/bash
2018-04-19 16:02:54 +02:00
readonly joplin_dir="/usr/share/joplin/"
2018-04-18 18:26:44 +02:00
if [[ ! -d $joplin_dir ]]; then
2018-10-29 02:01:00 +01:00
echo "Cannot find /usr/share/joplin/"
2018-04-18 18:26:44 +02:00
exit 1
fi
cd $joplin_dir
2018-04-19 16:02:54 +02:00
./joplin "$@"