From 75c22bfacb9de48ca6630a35c32abfb1df88bfac Mon Sep 17 00:00:00 2001 From: Alfredo Palhares Date: Thu, 19 Apr 2018 15:02:54 +0100 Subject: [PATCH] Rename joplin and joplin desktop --- .SRCINFO | 2 +- PKGBUILD | 2 +- joplin-cli.sh => joplin-desktop.sh | 5 +++-- joplin.sh | 5 ++--- 4 files changed, 7 insertions(+), 7 deletions(-) rename joplin-cli.sh => joplin-desktop.sh (65%) diff --git a/.SRCINFO b/.SRCINFO index 717bf54..840e596 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -13,8 +13,8 @@ pkgbase = joplin provides = joplin provides = joplin-cli source = joplin.desktop + source = joplin-desktop.sh source = joplin.sh - source = joplin-cli.sh source = https://github.com/laurent22/joplin/archive/v1.0.83.zip sha256sums = 87908c016952deebde4c1a1008ae76659b5942770da7d281c211841fc8c036b7 sha256sums = 5a3ace64906080adde5a5ea10ec9221fb2d94de770e6ee35b454aa30608b4097 diff --git a/PKGBUILD b/PKGBUILD index 5ed14ab..9aa1ded 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -13,7 +13,7 @@ depends=("nodejs") provides=("joplin" "joplin-cli") url="https://joplin.cozic.net" license=("MIT") -source=("${pkgname}.desktop" "joplin.sh" "joplin-cli.sh" +source=("${pkgname}.desktop" "joplin-desktop.sh" "joplin.sh" "https://github.com/laurent22/joplin/archive/v1.0.83.zip") sha256sums=("87908c016952deebde4c1a1008ae76659b5942770da7d281c211841fc8c036b7" "5a3ace64906080adde5a5ea10ec9221fb2d94de770e6ee35b454aa30608b4097" diff --git a/joplin-cli.sh b/joplin-desktop.sh similarity index 65% rename from joplin-cli.sh rename to joplin-desktop.sh index 0b33d36..65496ab 100644 --- a/joplin-cli.sh +++ b/joplin-desktop.sh @@ -1,6 +1,6 @@ #!/bin/bash -readonly joplin_dir="/usr/share/joplin-cli/" +readonly joplin_dir="/usr/share/joplin/" if [[ ! -d $joplin_dir ]]; then echo "Did not found joplin data directory" @@ -9,4 +9,5 @@ fi cd $joplin_dir -node main.js ${@} +./joplin "$@" + diff --git a/joplin.sh b/joplin.sh index 65496ab..0b33d36 100644 --- a/joplin.sh +++ b/joplin.sh @@ -1,6 +1,6 @@ #!/bin/bash -readonly joplin_dir="/usr/share/joplin/" +readonly joplin_dir="/usr/share/joplin-cli/" if [[ ! -d $joplin_dir ]]; then echo "Did not found joplin data directory" @@ -9,5 +9,4 @@ fi cd $joplin_dir -./joplin "$@" - +node main.js ${@}