Created
January 29, 2015 10:36
-
-
Save allex/6ca10da2cea5b0d218bf 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/sh | |
txtrst=$(tput sgr0) | |
txtred=$(tput setaf 1) | |
read -p "${txtred}Do you really wanna refresh static5 resources? [y|n]${txtrst} " y | |
if [ "$y" = "y" ]; then | |
echo "Update static5 resources..." | |
curl http://fe.bubugao-inc.com/deploy/update/public,mall,bc,uc,help | |
else | |
echo "Cancelled." | |
fi | |
echo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment