Created
September 24, 2015 05:16
-
-
Save kudarap/affc72691ab1500124d8 to your computer and use it in GitHub Desktop.
atom updater for linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
wget -q https://github.com/atom/atom/releases/latest -O /tmp/latest | |
wget --progress=bar -q 'https://github.com'$(cat /tmp/latest | grep -o -E 'href="([^"#]+)atom-amd64.deb"' | cut -d'"' -f2 | sort | uniq) -O /tmp/atom-amd64.deb -q --show-progress | |
sudo dpkg -i /tmp/atom-amd64.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment