drush examples handling
This commit is contained in:
parent
91c850dcaa
commit
9ed0267095
@ -1,2 +1,2 @@
|
|||||||
DIST drush-4.5.tar.gz 282760 RMD160 29566326577ebafb5321941c9abf92462bec7891 SHA1 81446d1bc61dc47a19050f809faa336633aeef17 SHA256 11a8ba3acbebf0be45407dee54a4c59cb9da7dfb461cf4ed9e27e78b2968fc99
|
DIST drush-4.5.tar.gz 282760 RMD160 29566326577ebafb5321941c9abf92462bec7891 SHA1 81446d1bc61dc47a19050f809faa336633aeef17 SHA256 11a8ba3acbebf0be45407dee54a4c59cb9da7dfb461cf4ed9e27e78b2968fc99
|
||||||
EBUILD drush-4.5.ebuild 875 RMD160 9f5b684cec27fc027d791f088103b3c9bc205e6a SHA1 64d83e215d77b46e8d9aa5fb18f063ed0a723a44 SHA256 e4f665e8b78eefd93977a42395b5b99532b3e14d7eedaa08aa144a0833944fc0
|
EBUILD drush-4.5.ebuild 853 RMD160 3a981df43a67dbf6552c192735a2039da6b2f038 SHA1 d678549822480b3ff2d8ca61ac4c6093aaaab749 SHA256 eb2e58dc1f72f228097d0d955140218360023edef67af1a0a00b842b9da83262
|
||||||
|
@ -26,10 +26,11 @@ src_install() {
|
|||||||
doexe drush
|
doexe drush
|
||||||
dosym /usr/share/drush/drush /usr/bin/drush
|
dosym /usr/share/drush/drush /usr/bin/drush
|
||||||
dodoc -r ${docs}
|
dodoc -r ${docs}
|
||||||
|
|
||||||
|
use examples || docs="${docs} examples"
|
||||||
|
|
||||||
# cleanup
|
# cleanup
|
||||||
for i in ${docs} LICENSE.txt drush.bat examples includes/.gitignore ; do
|
for i in ${docs} LICENSE.txt drush.bat includes/.gitignore tests ; do
|
||||||
rm -rf "${D}/usr/share/drush/${i}"
|
rm -rf "${D}/usr/share/drush/${i}"
|
||||||
done
|
done
|
||||||
|
|
||||||
use examples && cp -R examples "${D}"/usr/share/doc/"${PF}"
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user