jjr-joplin/joplin.sh

13 lines
169 B
Bash
Raw Normal View History

#!/bin/bash
readonly joplin_dir="/usr/share/joplin/"
if [[ ! -d $joplin_dir ]]; then
echo "Cannot find ${joplin_dir}"
exit 1
fi
cd $joplin_dir
node main.js ${@}