1 2 3 4 5 6 7 8 9 10 11
#!/usr/bin/env bash datadir=$HOME/.local/focalboard-bin/ [[ -d ${datadir} ]] || mkdir -p ${datadir} cd ${datadir} cp -r /opt/focalboard-bin/focalboard-app . cp -r /opt/focalboard-bin/pack . [[ -d "files" ]] || mkdir -p files touch focalboard.db ./focalboard-app $@