[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/se3master/DEBIAN/ -> postrm (source)

   1  #! /bin/bash
   2  # postrm script for smbedu
   3  #
   4  # see: dh_installdeb(1)
   5  
   6  set -e
   7  
   8  # summary of how this script can be called:
   9  #        * <postrm> `remove'
  10  #        * <postrm> `purge'
  11  #        * <old-postrm> `upgrade' <new-version>
  12  #        * <new-postrm> `failed-upgrade' <old-version>
  13  #        * <new-postrm> `abort-install'
  14  #        * <new-postrm> `abort-install' <old-version>
  15  #        * <new-postrm> `abort-upgrade' <old-version>
  16  #        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
  17  # for details, see /usr/doc/packaging-manual/
  18  
  19  case "$1" in
  20         remove|abort-install)
  21      (
  22      dpkg-divert --package se3 --remove --rename --divert /etc/cron.d/mrtg 
  23      dpkg-divert --package se3 --remove --rename --divert /etc/mrtg.cfg
  24      dpkg-divert --package se3 --remove --rename --divert /usr/share/backuppc/image/BackupPC_stnd.css 
  25      dpkg-divert --package se3 --remove --rename --divert /etc/ldap/slapd.conf 
  26      dpkg-divert --package se3 --remove --rename --divert /etc/backuppc/config.pl 
  27      dpkg-divert --package se3 --remove --rename --divert /etc/backuppc/apache.conf
  28      dpkg-divert --package se3 --remove --rename --divert /etc/backuppc/localhost.pl 
  29      dpkg-divert --package se3 --remove --rename --divert /usr/share/backuppc/lib/BackupPC/CGI/Lib.pm 
  30      dpkg-divert --package se3 --remove --rename --divert  /etc/ssmtp/ssmtp.conf 
  31      dpkg-divert --package se3 --remove --rename --divert /etc/php5/apache2/php.ini 
  32      dpkg-divert --package se3 --remove --rename --divert /etc/php5/cli/php.ini
  33      dpkg-divert --package se3 --remove --rename --divert  /etc/default/apache2 
  34      dpkg-divert --package se3 --remove --rename --divert  /etc/cups/mime.convs 
  35      dpkg-divert --package se3 --remove --rename --divert  /etc/cups/mime.types 
  36      dpkg-divert --package se3 --remove --rename --divert  /etc/syslog.conf 
  37      dpkg-divert --package se3 --remove --rename --divert  /etc/samba/smb.conf 
  38      dpkg-divert --package se3 --remove --rename --divert  /usr/share/se3/scripts/start_poste.sh
  39  
  40  
  41      dpkg-divert --package se3 --remove --divert   /etc/ldap/ldap.conf 
  42      dpkg-divert --package se3 --remove --divert  /etc/nsswitch.conf 
  43      dpkg-divert --package se3 --remove --divert   /etc/pam_ldap.conf 
  44      dpkg-divert --package se3 --remove --divert   /etc/libnss-ldap.conf 
  45      ) >/dev/null
  46          ;;
  47  
  48      *)
  49          exit 0
  50  
  51  esac
  52  
  53  # dh_installdeb will replace this with shell code automatically
  54  # generated by other debhelper scripts.


Generated: Tue Mar 17 22:47:18 2015 Cross-referenced by PHPXref 0.7.1