Skip to content

Instantly share code, notes, and snippets.

@jbenner-radham
Created August 18, 2015 01:34
Show Gist options
  • Save jbenner-radham/b1b9b3712424a0e7d0d2 to your computer and use it in GitHub Desktop.
Save jbenner-radham/b1b9b3712424a0e7d0d2 to your computer and use it in GitHub Desktop.
#!/usr/bin/env sh
i=0;
for pkg in $(pip3 list)
do
i=$((i + 1));
if [[ ! $((i % 2)) -eq 0 ]]
then
pip3 install --upgrade $pkg
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment