duplicate sample files on setup

This commit is contained in:
jomo
2015-08-13 00:11:35 +02:00
parent 9e3cd6828e
commit ae02f14c4b

View File

@@ -76,7 +76,14 @@ echo -e "\n> Pulling redstoner-utils ..."
git clone -q "git@github.com:RedstonerServer/redstoner-utils.git" "redstoner-utils.py.dir" > /dev/null git clone -q "git@github.com:RedstonerServer/redstoner-utils.git" "redstoner-utils.py.dir" > /dev/null
echo -e "\n> All plugins downloaded" echo -e "\n> All plugins downloaded"
cd ".."
cd "redstoner-utils.py.dir"
echo -e "\n> Duplicating sample files"
for file in ls ./*.example; do
cp -v "$file" "$(echo "$file" | rev | cut -d "." -f 2- | rev)"
done
cd "../.."
mkdir -v "lib" mkdir -v "lib"
cd "lib" cd "lib"