Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 17 lines (12 sloc) 302 Bytes
#!/bin/bash
mkdir kohana || true
pushd kohana
tar xfz ../kohana-*.tar.gz --strip-components=1
if [ "${KOHANA_MODULE}" == "core" ]; then
rm -rf system || true
ln -s ../source system || true
else
rm -rf modules/${KOHANA_MODULE} || true
ln -s ../../source modules/${KOHANA_MODULE} || true
fi
popd
Something went wrong with that request. Please try again.