Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Simple auto update scripts by tohands
- # Required: bash, wget, sed and unzip.
- # How to use it
- # 'update.sh Mindcrack'
- # will update the Mindcrack pack
- # 'update.sh Ultimate'
- # will update the Ultimate Pack
- # Every update come officially from http://feed-the-beast.com/download.php.
- #!/bin/bash
- rm -rf $1.zip
- wget `wget -qO- http://feed-the-beast.com/download.php | cat | grep -o '<a .*href=.*>' | sed -e 's/<a /\n<a /g' | sed -e 's/<a .*href=['"'"'"]//' -e 's/["'"'"'].*$//' -e '/^$/ d' | grep $1` -O $1.zip
- unzip -o $1.zip
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement