migration from GitLab

This commit is contained in:
Matt Burchett
2014-12-16 18:23:44 -06:00
parent 55ec3bebb7
commit f7987983a4
5 changed files with 117 additions and 1 deletions

24
minecraft/getpacks.sh Executable file
View File

@ -0,0 +1,24 @@
#!/bin/bash
if [ -z "`ls | grep -v *.sh | grep SKYFALL`" ]
then
echo 'No SKYFALL Textures Detected, downloading ...';echo;
for file in $(curl -s minecraft.skyfallgames.com/current/ |
grep href |
sed 's/.*href="//' |
sed 's/".*//' |
grep '^[a-zA-Z].*'); do
echo $file; curl -# -O http://minecraft.skyfallgames.com/current/$file
done
else
echo 'SKYFALL Textures Detected, updating ...';echo;
for file in $(curl -s minecraft.skyfallgames.com/current/ |
grep href |
sed 's/.*href="//' |
sed 's/".*//' |
grep '^[a-zA-Z].*'); do
echo $file; curl -z $file -# -O http://minecraft.skyfallgames.com/current/$file
done
fi