Created
August 18, 2015 01:34
-
-
Save jbenner-radham/b1b9b3712424a0e7d0d2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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