diff options
author | D.M.D. Ljungmark <spider@gentoo.org> | 2002-04-12 23:51:31 +0000 |
---|---|---|
committer | D.M.D. Ljungmark <spider@gentoo.org> | 2002-04-12 23:51:31 +0000 |
commit | a752e8ca5737488639f9d1ffc10ff6372c41b4cb (patch) | |
tree | 027c1c284515a97b8866758c02fec4879aa71549 /media-libs/libpng/files | |
parent | Cleaned up ebuild (diff) | |
download | gentoo-2-a752e8ca5737488639f9d1ffc10ff6372c41b4cb.tar.gz gentoo-2-a752e8ca5737488639f9d1ffc10ff6372c41b4cb.tar.bz2 gentoo-2-a752e8ca5737488639f9d1ffc10ff6372c41b4cb.zip |
Updating version to -perm +u+x and not emerge..
Diffstat (limited to 'media-libs/libpng/files')
-rw-r--r-- | media-libs/libpng/files/libpng-update.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/media-libs/libpng/files/libpng-update.sh b/media-libs/libpng/files/libpng-update.sh index e501965fd8d0..1f67b146b806 100644 --- a/media-libs/libpng/files/libpng-update.sh +++ b/media-libs/libpng/files/libpng-update.sh @@ -6,7 +6,7 @@ fi rm -f /tmp/pngstuff.* echo "Scanning libraries. do not be alarmed of error messages" -find /usr/lib -type f | while read LIB; do +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 @@ -14,12 +14,12 @@ 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 +# 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| while read FOO; do +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 @@ -29,7 +29,7 @@ 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 +# cat /tmp/pngstuff.bins.rebuild | while read PACK; do emerge ${PACK}; done echo "done, deleting tempfiles" rm -f /tmp/pngstuff.* |