diff options
author | Bertrand Jacquin <beber@meleeweb.net> | 2006-03-21 11:15:37 +0100 |
---|---|---|
committer | Bertrand Jacquin <beber@meleeweb.net> | 2006-03-21 11:15:37 +0100 |
commit | 37bdd422c735d8f7382ddcf9b7c9bf9e9f553984 (patch) | |
tree | 62da0912212f6a4b264f1e6cf89200f2ad27cf04 /eclass | |
parent | e.eclass: fetch mirror tar in unpack and download them if server file is newer (diff) | |
download | portage-37bdd422c735d8f7382ddcf9b7c9bf9e9f553984.tar.xz |
e.eclass: support download tar provide by caro
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/enlightenment.eclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/eclass/enlightenment.eclass b/eclass/enlightenment.eclass index 67c620cc..2fc8deee 100644 --- a/eclass/enlightenment.eclass +++ b/eclass/enlightenment.eclass @@ -117,9 +117,8 @@ gettext_modify() { enlightenment_src_unpack() { if [[ ${ECVS_STATE} == "mirror" ]] ; then B="${PN}.tar.bz2" - cp -p /usr/portage/distfiles/${B} ${DISTDIR} 2> /dev/null + ln -sf /usr/portage/distfiles/${B} ${DISTDIR} 2> /dev/null wget -t 5 --passive-ftp ${ECVS_MIRROR}/${ECVS_MODULE}.tar.bz2 --progress=bar:force -N -P ${DISTDIR} - cp -p ${DISTDIR}/${B} /usr/portage/distfiles 2> /dev/null unpack ${B} elif [[ ${ECVS_STATE} == "live" ]] ; then cvs_src_unpack |