Files
kymsu2/plugins.d/atom.sh
Bruno21 f99b2c3107 06-08-2021
update to M1
2021-08-06 12:45:12 +02:00

14 lines
427 B
Bash
Executable File
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/usr/bin/env bash
echo -e "\033[1m⚛ Atom editor will be shiny when you'll be back from your coffee/tea break! \033[0m"
command -v apm >/dev/null 2>&1 || { echo -e "\n${bold}Atom editor${reset} is not installed.\n\nRun ${italic}'brew install atom'${reset} for install." && exit 1; }
if hash apm-beta 2>/dev/null; then
apm-beta upgrade -c false
fi
if hash apm 2>/dev/null; then
apm upgrade -c false
fi
echo ""