[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

   1  #! /bin/bash
   2  
   3  set -e
   4  paquet=$(dpkg-divert --listpackage  /etc/samba/smb_CIFSFS.conf)
   5  if [ "$paquet" = "se3-logonpy" ]; then
   6      rm -f /etc/samba/smb_CIFSFS.conf
   7      dpkg-divert --package se3-logonpy --rename --remove /etc/samba/smb_CIFSFS.conf 
   8  fi
   9  
  10  
  11  
  12  #dpkg-divert --package se3-logonpy --add --rename --divert /etc/samba/smb_Samba.conf.divert  /etc/samba/smb_Samba.conf
  13   
  14  paquet=$(dpkg-divert --listpackage  /etc/samba/smb_Samba.conf)
  15  if [ "$paquet" = "se3-logonpy" ]; then
  16      rm -f /etc/samba/smb_Samba.conf.divert
  17      dpkg-divert  --package se3-logonpy --rename --remove /etc/samba/smb_Samba.conf
  18  fi
  19  
  20  
  21  
  22  
  23  exit 0


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