home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / var / lib / dpkg / info / libgnome-keyring1.0-cil.preinst < prev    next >
Encoding:
Text File  |  2009-03-06  |  500 b   |  14 lines

  1. #!/bin/sh
  2. set -e
  3. # Automatically added by dh_installmodules
  4. if [ "$1" = install ] || [ "$1" = upgrade ]; then
  5.     if [ -e "/etc/modprobe.d/libgnome-keyring1.0-cil" ]; then
  6.         if [ "`md5sum \"/etc/modprobe.d/libgnome-keyring1.0-cil\" | sed -e \"s/ .*//\"`" = \
  7.              "`dpkg-query -W -f='${Conffiles}' libgnome-keyring1.0-cil | sed -n -e \"\\\\' /etc/modprobe.d/libgnome-keyring1.0-cil's/.* //p\"`" ]
  8.         then
  9.             rm -f "/etc/modprobe.d/libgnome-keyring1.0-cil"
  10.         fi
  11.     fi
  12. fi
  13. # End automatically added section
  14.