Last active
December 24, 2019 20:35
-
-
Save zarzen/012c2aa2a1c833e5bf1aeb379bbb9e93 to your computer and use it in GitHub Desktop.
mimic env setup script
This file contains 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 | |
AUTO_DIR="$HOME/autorun" | |
LOG_DIR="$HOME/autorun/chaokun_logs" | |
if [ ! -d "$LOG_DIR" ]; then | |
cd $AUTO_DIR && \ | |
echo "downloading chaokun_logs.tar.gz" && \ | |
wget -q https://dt-training.s3.amazonaws.com/chaokun_logs.tar.gz && \ | |
echo "starting untar logs" && \ | |
tar -zxf chaokun_logs.tar.gz && \ | |
rm chaokun_logs.tar.gz | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment