atom-bin/atom-bin-autoupdate

7 lines
167 B
Plaintext
Raw Permalink Normal View History

#!/bin/bash
VERSION=$1
[ "$VERSION" ] || exit 1
curl -L https://github.com/atom/atom/releases/download/v${VERSION}/atom-amd64.tar.gz -o atom-amd64-${VERSION}.tar.gz