source: lliurex-lightdm-theme/trunk/fuentes/debian/prerm @ 2300

Last change on this file since 2300 was 2300, checked in by hectorgh, 4 years ago

fixing diversion

  • Property svn:executable set to *
File size: 592 bytes
Line 
1#!/bin/sh
2
3set -e
4
5# Template for diversions
6
7PACKAGE_NAME="lliurex-lightdm-theme"
8ORIGINAL_FILE="/etc/lightdm/lightdm-gtk-greeter.conf.d/99_ubuntu-mate.conf"
9DIVERT_FILE="/usr/share/lliurex-lightdm-theme/diversions/99_ubuntu-mate.diverted"
10
11
12
13case $1 in
14        remove|purge|abort-install|disappear)
15
16                if [ -f ${DIVERT_FILE} ] ; then
17                        dpkg-divert --package  ${PACKAGE_NAME} --rename --quiet --remove ${ORIG_FILE}|| true
18                fi
19
20                ;;
21        *)
22                echo "Nothing to do"
23                ;;
24esac
25
26#DEBHELPER#
27
28exit 0
29
Note: See TracBrowser for help on using the repository browser.