Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 113044 Details for
Bug 168177
app-text/texlive-2007 has been released
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Script to extract the necessary tar.gz files from the DVD iso and put them into /usr/portage/distfiles
buildtltargz.sh (text/plain), 1.05 KB, created by
Fabian Wolf
on 2007-03-12 08:58:14 UTC
(
hide
)
Description:
Script to extract the necessary tar.gz files from the DVD iso and put them into /usr/portage/distfiles
Filename:
MIME Type:
Creator:
Fabian Wolf
Created:
2007-03-12 08:58:14 UTC
Size:
1.05 KB
patch
obsolete
>#!/bin/sh ># This needs to be run as root! > >ISO_URL=ftp://ftp.join.uni-muenster.de/pub/software/CTAN/systems/texlive/Images/texlive2007-inst-20070212.iso >TMPDIR=`mktemp -d -p /tmp/` || exit 1 > > > >if [ $UID != 0 ] >then > echo "This needs to be run as root. Exiting..." > exit 1 >fi > > >function cleanup { > rm -fr "$TMPDIR" >} > >function failure { > cleanup > exit 1 >} > > >trap cleanup EXIT SIGHUP SIGINT SIGTERM > ># Download and mount iso image >echo "Downloading to ${TMPDIR}." >mkdir "${TMPDIR}/mnt" || failure >cd "${TMPDIR}" >wget "$ISO_URL" "${TMPDIR}/texlive.iso" || failure >mount -o loop -t iso9660 "${TMPDIR}/texlive.iso" "${TMPDIR}/mnt" || failure > ># Make packages >echo "Building tar.gz files." >cp "${TMPDIR}/mnt/source/source.tar.gz" "/usr/portage/distfiles/texlive-2007-src.tar.gz" || failure >tar czspf "${TMPDIR}/texlive-2007-texmf.tar.gz" "${TMPDIR}/mnt/texmf" || failure >tar czspf "${TMPDIR}/texlive-2007-texmf-dist.tar.gz" "${TMPDIR}/mnt/texmf-dist" || failure > >echo "Moving packages to /usr/portage/distfiles/." >mv "${TMPDIR}/texlive-2007-*.tar.gz" /usr/portage/distfiles/
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 168177
:
113021
|
113044
|
113045
|
113046
|
113072
|
113073
|
113574
|
114885
|
114955
|
120478
|
120479
|
120480
|
120920
|
122800
|
122965
|
127764
|
127766
|
127768
|
129323
|
132234