FIXUPHACK 596 B

12345678910111213141516
  1. #fix debian messing around with locations...
  2. if [ -e lib/libpng12.so.0 ];then
  3. ln -snf ../../lib/libpng12.so.0 usr/lib/libpng12.so.0.22.0
  4. ln -snf ../../lib/libpng12.so.0 usr/lib/libpng.so.0
  5. ln -snf ../../lib/libpng12.so.0 usr/lib/libpng.so.2.1.0.8
  6. ln -snf ../../lib/libpng12.so.0 usr/lib/libpng.so.2
  7. ln -snf ../../lib/libpng12.so.0 usr/lib/libpng.so.3
  8. ln -snf ../../lib/libpng12.so.0 usr/lib/libpng.so.3.22.0
  9. fi
  10. #mageia1 libpng-devel pkg is so weird....
  11. if [ -e usr/lib/libpng12.so.0 ];then
  12. [ ! -e usr/lib/libpng.so ] && [ ! -e lib/libpng.so ] && ln -s libpng12.so.0 usr/lib/libpng.so
  13. fi