home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / var / lib / dpkg / info / libldap2.postinst < prev    next >
Encoding:
Text File  |  2007-02-17  |  357 b   |  24 lines

  1. #!/bin/sh -e
  2.  
  3. kill_old_libraries() {
  4.     local base lib
  5.     base="$1"
  6.     
  7.     for lib in /usr/lib/lib$base.so.2.0.[0-9][0-9]; do
  8.         rm -f $lib
  9.     done
  10. }
  11.  
  12. if [ "$1" = "configure" ]; then
  13.     for l in ldap ldap_r lber; do 
  14.         kill_old_libraries $l
  15.     done
  16. fi
  17.  
  18. # Automatically added by dh_makeshlibs
  19. if [ "$1" = "configure" ]; then
  20.     ldconfig
  21. fi
  22. # End automatically added section
  23.  
  24.