17 lines
496 B
Plaintext
17 lines
496 B
Plaintext
curl https://codeload.github.com/zendframework/zf1/tar.gz/release-1.12.15 -o zf1-release-1.12.15.tar.gz
|
|
tar xzf zf1-release-1.12.15.tar.gz --strip-components 3 zf1-release-1.12.15/library/Zend
|
|
rm -r Amf/
|
|
rm -r Cloud/
|
|
rm -r CodeGenerator/
|
|
rm -r Dojo/
|
|
rm Dojo.php
|
|
rm -r Gdata/
|
|
rm Gdata.php
|
|
rm Locale/Data/*.xml
|
|
rm -r Pdf/
|
|
rm Pdf.php
|
|
rm -r Service/
|
|
find . -type f -name \*.php ! -path ./Loader/Autoloader.php -execdir sed -i'' '/require_once/d' "{}" \;
|
|
rm zf1-release-1.12.15.tar.gz
|
|
chmod -R -x+X *
|