pinstall.sh 335 B

1234567891011121314
  1. #!/bin/sh
  2. echo "Post-install script for glib..."
  3. for i in ./usr/lib/glib-2.0/*; do
  4. [ ! -f "$i" ] && continue
  5. name="`basename "$i"`"
  6. [ ! -e "./usr/bin/$name" ] && ln -s "/usr/lib/glib-2.0/$name" ./usr/bin/
  7. done
  8. #also need this for slackware 13.1...
  9. rm -f ./etc/profile.d/*.csh* 2>/dev/null
  10. rm -f ./etc/profile.d/.wh.* 2>/dev/null