diff options
author | D.M.D. Ljungmark <spider@gentoo.org> | 2002-04-17 10:18:38 +0000 |
---|---|---|
committer | D.M.D. Ljungmark <spider@gentoo.org> | 2002-04-17 10:18:38 +0000 |
commit | 3d4ed274124111e62843b43c1db4f2874052c630 (patch) | |
tree | a81a2d6c75404f7008af9be207ae8953c2ac7e76 /media-libs/libpng | |
parent | updated scripts that look for qpkg in both /usr/bin and /usr/sbin (diff) | |
download | gentoo-2-3d4ed274124111e62843b43c1db4f2874052c630.tar.gz gentoo-2-3d4ed274124111e62843b43c1db4f2874052c630.tar.bz2 gentoo-2-3d4ed274124111e62843b43c1db4f2874052c630.zip |
removed the libpng-update.sh script
Diffstat (limited to 'media-libs/libpng')
-rw-r--r-- | media-libs/libpng/files/libpng-update.sh | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/media-libs/libpng/files/libpng-update.sh b/media-libs/libpng/files/libpng-update.sh deleted file mode 100644 index 1f67b146b806..000000000000 --- a/media-libs/libpng/files/libpng-update.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash -if [ ! -f /usr/sbin/qpkg ]; then - echo "qpkg not found, will emerge gentoolkit" - emerge gentoolkit -fi -rm -f /tmp/pngstuff.* -echo "Scanning libraries. do not be alarmed of error messages" - -find /usr/lib -type f -perm +u+x | while read LIB; do - ldd "${LIB}" | grep "libpng.so.2" && /usr/sbin/qpkg -nc -f "${LIB}" >>/tmp/pngstuff.libs -done -cat /tmp/pngstuff.libs |sort | uniq | sed 's:\(.*/.*\)-[0-9]\+.*:\1:g' >/tmp/pngstuff.libs.rebuild -echo "You will now need to rebuild the following packages" -echo "------------" -cat /tmp/pngstuff.libs.rebuild -echo "------------" -# cat /tmp/pngstuff.libs.rebuild | while read PACK; do emerge ${PACK}; done -echo "--- Done with libraries ---" - - -echo "scanning /usr do not be alarmed of error messages" -find /usr -type f -perm +u+x | while read FOO; do - ldd "${FOO}" | grep libpng.so.2 && /usr/sbin/qpkg -nc -f ${FOO} >>/tmp/pngstuff.bins -done - - -cat /tmp/pngstuff.bins |sort | uniq | sed 's:\(.*/.*\)-[0-9]\+.*:\1:g' >/tmp/pngstuff.bins.rebuild -echo "You will now need to rebuild the following packages" -echo "-----------" -cat /tmp/pngstuff.bins.rebuild -echo "-----------" -# cat /tmp/pngstuff.bins.rebuild | while read PACK; do emerge ${PACK}; done -echo "done, deleting tempfiles" -rm -f /tmp/pngstuff.* - |