Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 113073 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.bz2 files from the DVD iso and put them into /usr/portage/distfiles
buildtltargz.sh (text/plain), 1.17 KB, created by
Fabian Wolf
on 2007-03-12 14:45:54 UTC
(
hide
)
Description:
Script to extract the necessary tar.bz2 files from the DVD iso and put them into /usr/portage/distfiles
Filename:
MIME Type:
Creator:
Fabian Wolf
Created:
2007-03-12 14:45:54 UTC
Size:
1.17 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 packages." >cd "${TMPDIR}/mnt" >tar cjspf "${TMPDIR}/texlive-2007-texmf.tar.bz2" texmf || failure >tar cjspf "${TMPDIR}/texlive-2007-texmf-dist.tar.bz2" texmf-dist || failure >mkdir "${TMPDIR}/texlive-2007" || failure >cd "${TMPDIR}/texlive-2007" >tar xpfj "${TMPDIR}/mnt/source/source.tar.bz2" || failure >cd "${TMPDIR}" >tar cjspf "${TMPDIR}/texlive-2007-src.tar.bz2" texlive-2007 || failure > >echo "Moving packages to /usr/portage/distfiles/." >mv "${TMPDIR}/texlive-2007-*.tar.bz2" /usr/portage/distfiles/ > >umount "${TMPDIR}/mnt"
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