Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 320224 Details for
Bug 424463
app-portage/g-octave please provide an updated database
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
drop in replacement to update g-octave-db
update-g-octave-db.sh (text/plain), 719 bytes, created by
cmuelle8
on 2012-08-03 22:03:54 UTC
(
hide
)
Description:
drop in replacement to update g-octave-db
Filename:
MIME Type:
Creator:
cmuelle8
Created:
2012-08-03 22:03:54 UTC
Size:
719 bytes
patch
obsolete
>#! /bin/bash > >TMPDIR="/tmp" > ># change into g-octave-db directory >cd $(grep "^db" /etc/g-octave.cfg | cut -f 2 -d "=") > ># parse packages page >wget -qO - http://octave.sourceforge.net/packages.php | grep tar.gz | cut -f 4 -d '"' | \ >while read >do > name=${REPLY##*/} > name=${name%.tar.gz*} > fname=${TMPDIR}/${name}.tar.gz > > wget -qO "$fname" "$REPLY" > desc=$(tar tzf "$fname" | grep "DESCRIPTION$") > > # extract description > tar xzf "$fname" "$desc" > > dir="$(find octave-forge -name "${name%-*}" -type d)" > dir="${dir:=octave-forge/main/${name%-*}}" > mkdir -p "$dir" > > # update g-octave-db with extracted description > mv -v "$desc" "${dir}/${name%.tar.gz}.DESCRIPTION" > > rm -rf "${desc%/*}" > rm "$fname" >done
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 424463
: 320224