Created
October 4, 2010 07:57
-
-
Save tuxcanfly/609365 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
#!/bin/bash | |
FROM='[email protected]'; | |
TO='[email protected]'; | |
rm -rf pypi | |
if virtualenv --no-site-packages --distribute pypi && pip install -E pypi -r agiliq_packages.txt > test_result.txt; then | |
message='Installations successful!'; | |
else | |
message='Installations failed. See attached file for details' | |
fi | |
rm -rf pypi | |
echo $message | mail -s '[InstallBot]' -a test_result.txt -r $FROM $TO | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment