FIXUPHACK 629 B

12345678910111213141516171819
  1. LIBPARTED="`ls -1 lib/libparted* 2>/dev/null | head -n 1`"
  2. if [ "$LIBPARTED" ];then
  3. BASELIBPARTED="`basename $LIBPARTED`"
  4. ln -s $BASELIBPARTED lib/libparted-1.8.so.6
  5. ln -s $BASELIBPARTED lib/libparted-1.8.so.8
  6. ln -s $BASELIBPARTED lib/libparted-1.8.so.9 2>/dev/null
  7. fi
  8. #for T2 build...
  9. LIBPARTED="`ls -1 usr/lib/libparted* 2>/dev/null | head -n 1`"
  10. if [ "$LIBPARTED" ];then
  11. BASELIBPARTED="`basename $LIBPARTED`"
  12. ln -s $BASELIBPARTED usr/lib/libparted-1.8.so.6
  13. ln -s $BASELIBPARTED usr/lib/libparted-1.8.so.8
  14. ln -s $BASELIBPARTED usr/lib/libparted-1.8.so.9 2>/dev/null
  15. fi
  16. ln -s libparted.so.2.0.0 usr/lib/libparted.so.0