86. #!/bin/bash PREFIX="/usr/bin/" install_oil() { sudo sh -c "curl --silent http://get.fuelphp.com/ installer.sh > ${PREFIX}oil" sudo chmod +x ${PREFIX}oil } # # Handle execution # main() { # Start installation install_oil exit 0 } main 88. #!/bin/bash if [ -f "./oil" ]; then php oil "$@" else if [ "$1" == "create" ]; then if [ ! `which git` ]; then echo "For this installer to work you'll need to
![FuelPHPをさわってみて](https://cdn-ak-scissors.b.st-hatena.com/image/square/bbf6aaf683fb98c2e90c4f5312a38d7d4809f4c8/height=288;version=1;width=512/https%3A%2F%2Fcdn.slidesharecdn.com%2Fss_thumbnails%2Fkphpug12-120512193619-phpapp02-thumbnail.jpg%3Fwidth%3D640%26height%3D640%26fit%3Dbounds)