[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/se3-backup/DEBIAN/ -> preinst (source)

   1  #! /bin/sh
   2  if [ ! -z "$(dpkg-divert --list | grep "se3$" | grep /etc/backuppc/config.pl)" ]; then
   3  dpkg-divert --package se3 --remove --rename /etc/backuppc/config.pl 
   4  fi 
   5  
   6  if [ ! -z "$(dpkg-divert --list | grep "se3$" | grep /etc/backuppc/localhost.pl)" ]; then
   7  dpkg-divert --package se3 --remove --rename /etc/backuppc/localhost.pl 
   8  fi 
   9  
  10  if [ ! -z "$(dpkg-divert --list | grep "se3$" | grep /etc/backuppc/apache.conf)" ]; then
  11  dpkg-divert --package se3 --remove --rename /etc/backuppc/apache.conf
  12  fi 
  13  
  14  if [ ! -z "$(dpkg-divert --list | grep "se3$" | grep /usr/share/backuppc/image/BackupPC_stnd.css)" ]; then
  15  dpkg-divert --package se3 --remove --rename /usr/share/backuppc/image/BackupPC_stnd.css 
  16  fi 
  17  
  18  if [ ! -z "$(dpkg-divert --list | grep "se3$" | grep /usr/share/backuppc/lib/BackupPC/CGI/Lib.pm)" ]; then
  19  rm -f /usr/share/backuppc/lib/BackupPC/CGI/Lib.pm.divert 
  20  dpkg-divert --package se3 --remove --rename /usr/share/backuppc/lib/BackupPC/CGI/Lib.pm
  21  fi 
  22  
  23  if [ -e /usr/share/se3/sbin/permbackuppc ]; then
  24  rm -f /usr/share/se3/sbin/permbackuppc
  25  fi
  26  
  27  #dpkg-divert --package se3-backup --add --divert /etc/backuppc/config.pl.divert /etc/backuppc/config.pl 
  28  
  29  dpkg-divert --package se3-backup --add --rename --divert /usr/share/backuppc/image/BackupPC_stnd.css.divert /usr/share/backuppc/image/BackupPC_stnd.css 
  30  #dpkg-divert --package se3-backup --add --rename --divert /etc/backuppc/apache.conf.divert /etc/backuppc/apache.conf 
  31  dpkg-divert --package se3-backup --add --rename --divert /usr/share/backuppc/lib/BackupPC/CGI/Lib.pm.divert /usr/share/backuppc/lib/BackupPC/CGI/Lib.pm 
  32  exit 0


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