Fix path for atom package list

This commit is contained in:
saibotk 2018-12-06 20:08:45 +01:00
parent 16cbcc7abf
commit b840a7c41f

View file

@ -26,8 +26,8 @@ fi
# if atom is installed import configs
if commandExists atom; then
if commandExists apm; then
if [ -f ~/.dotfiles/atom/packages.txt ]; then
apm install --packages-file ~/.dotfiles/atom/packages.txt
if [ -f ~/.dotfiles/atom/packages.list ]; then
apm install --packages-file ~/.dotfiles/atom/packages.list
else
echo '[INFO] Cannot find packages.txt skipping atom package installation.'
fi