Made some clean changes.
This commit is contained in:
1
minecraft/REAMDE.md
Normal file
1
minecraft/REAMDE.md
Normal file
@ -0,0 +1 @@
|
||||
Various Minecraft tweaks
|
24
minecraft/texture-packs/getpacks.sh
Executable file
24
minecraft/texture-packs/getpacks.sh
Executable 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
|
Reference in New Issue
Block a user