obsidian.sh 372 Bytes
Newer Older
1 2 3
#!/bin/sh

PKGNAME=obsidian
4
SUPPORTEDARCHES="x86_64"
5 6 7 8 9 10 11
DESCRIPTION='Obsidian from the official site'

. $(dirname $0)/common.sh

arch=amd64
pkgtype=deb

12
PKG=$(epm tool eget --list --latest https://github.com/obsidianmd/obsidian-releases/releases/ "$PKGNAME*$arch.$pkgtype") || fatal "Can't get package URL"
13 14 15
[ -n "$PKG" ] || fatal "Can't get package URL"

epm install "$PKG"