Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 95568 Details for
Bug 135999
[MFO] Expand php-toolkit capabilities and fix it up
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
php-rebuild bash script
php-updater (text/plain), 816 bytes, created by
Patrick Avery
on 2006-08-31 10:47:52 UTC
(
hide
)
Description:
php-rebuild bash script
Filename:
MIME Type:
Creator:
Patrick Avery
Created:
2006-08-31 10:47:52 UTC
Size:
816 bytes
patch
obsolete
>#!/bin/bash >EBUILD="1" >source /sbin/functions.sh > >extdir=$( php-config --extension-dir ) > >if [[ -z "${extdir}" || ! -d ${extdir} ]]; then > eerror "Your PHP configuration doesn't feel right" > exit 1 >fi > >echo >ebegin "Checking for installed PHP extensions" > >builds=$( qfile --quiet --nocolor ${extdir}/*.so ) >builds=${builds//dev-lang\/php/} >builds=${builds:+$( qlist -ICev ${builds} | awk '{ printf "=%s ", $1 }' )} >retval="$?" > >if [[ -z "${builds}" ]]; then > ewend 1 "No third-party extensions found" > exit 0 >fi > >eend ${retval} "There was a problem resolving package names" > >echo >einfo "Found packages:" >eindent >for pkg in ${builds}; do > einfo "${pkg}" >done >eoutdent > >echo >einfo "Remerging appropriate packages:" >eindent >einfo "emerge --oneshot --ask --verbose ${builds}" >emerge --oneshot --ask --verbose ${builds}
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 135999
:
95554
| 95568 |
235941