Skip to content

Instantly share code, notes, and snippets.

@roronya
Created April 18, 2016 14:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roronya/9a0e1f1d54bf4d808db43001c5aae782 to your computer and use it in GitHub Desktop.
Save roronya/9a0e1f1d54bf4d808db43001c5aae782 to your computer and use it in GitHub Desktop.
#!/bin/sh
while read package;
do
if [ ! -d "$HOME/.atom/packages/$package" ];
then
apm install $package;
else
echo "$package is already installed."
fi
done < $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment