Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 106882 Details for
Bug 161975
GENTOO_MIRRORS support for mounted filesystem mirrors
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
/usr/local/sbin/emerge-fetch
emerge-fetch (text/plain), 620 bytes, created by
Triffid Hunter
on 2007-01-14 01:11:56 UTC
(
hide
)
Description:
/usr/local/sbin/emerge-fetch
Filename:
MIME Type:
Creator:
Triffid Hunter
Created:
2007-01-14 01:11:56 UTC
Size:
620 bytes
patch
obsolete
>#!/bin/bash > >OLDISTDIR="/etc/portage/old" > >DISTDIR="$1" >URI="$2" > >FILE=${URI##*/} > >echo -n $(date +--%H:%M:%S--) "Checking for $OLDISTDIR/${FILE}..." > >if [ -r "$OLDISTDIR/${FILE}" ] >then > echo -n " Found in ${OLDISTDIR}" > if [ touch "${OLDISTDIR}/write-test" 2>/dev/null ] > then > rm "${OLDISTDIR}/write-test" 2>/dev/null > echo "(rw) ,moving... " > mv -uv "${OLDISTDIR}/${FILE}" "${DISTDIR}/${FILE}" > else > echo "(ro), copying... " > cp -uv "${OLDISTDIR}/${FILE}" "${DISTDIR}/${FILE}" > fi >fi > >if [ ! -r "${DISTDIR}/${FILE}" ] >then > echo " Not found" > /usr/bin/wget -t 3 -T 15 --passive-ftp -P "${DISTDIR}" "${URI}" >fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 161975
: 106882