atom.sh 384 Bytes
Newer Older
1 2 3
#!/bin/sh

PKGNAME=atom-beta
4
SUPPORTEDARCHES="x86_64"
5
DESCRIPTION="The hackable text editor from the official site"
6 7


8
. $(dirname $0)/common.sh
9 10 11 12 13 14

#arch=$($DISTRVENDOR --distro-arch)
#pkgtype=$($DISTRVENDOR -p)
arch=amd64
pkgtype=deb

15
PKG=$(epm tool eget --list --latest https://github.com/atom/atom/releases/ "atom-$arch.$pkgtype") || fatal "Can't get package URL"
16 17

epm install "$PKG"