Atom update to specific version
#!/bin/bash
atom -v
echo "---------"
curl -q -s https://api.github.com/repos/atom/atom/tags | grep "name" | awk -F "\"" '{ print $4 }' | head -n 10
echo
echo -n "Update to (ctrl+c to cancel): "
read release
wget -O "/tmp/atom-amd64.deb" "https://github.com/atom/atom/releases/download/$release/atom-amd64.deb"
sudo dpkg -i /tmp/atom-amd64.deb
rm /tmp/atom-amd64.deb
echo "Done!"