|
|
@ -2,7 +2,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh"
|
|
|
|
source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function get_os () (
|
|
|
|
function get_os () (
|
|
|
|
case $(uname -s) in
|
|
|
|
case $(uname -s) in
|
|
|
|
Linux*) echo unknown-linux-gnu;;
|
|
|
|
Linux*) echo unknown-linux-gnu;;
|
|
|
@ -16,7 +15,7 @@ function get_arch () (
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
APP=erdtree
|
|
|
|
APP=erdtree
|
|
|
|
VERSION=${VERSION:-v3.0.0}
|
|
|
|
VERSION=${VERSION:-v3.1}
|
|
|
|
DEST=${XDG_DATA_HOME}/apps/releases/${APP}
|
|
|
|
DEST=${XDG_DATA_HOME}/apps/releases/${APP}
|
|
|
|
URL=https://github.com/solidiquis/erdtree/releases/download/${VERSION}/erd-${VERSION}-$(get_arch)-$(get_os).tar.gz
|
|
|
|
URL=https://github.com/solidiquis/erdtree/releases/download/${VERSION}/erd-${VERSION}-$(get_arch)-$(get_os).tar.gz
|
|
|
|
|
|
|
|
|
|
|
|