source: zero-lliurex-dni/trunk/fuentes/debian/zero-lliurex-dni.prerm @ 507

Last change on this file since 507 was 507, checked in by jrpelegrina, 4 years ago

First release to xenial

File size: 492 bytes
Line 
1#!/bin/sh
2
3set -e
4
5DIVERT_LIST="/usr/share/opensc-dnie/instal_dnie/instala_modulo.htm /usr/share/opensc-dnie/instal_dnie/dnie.css"
6
7# vars
8case "$1" in
9    remove|purge|abort-install|disappear)
10
11         for f in $DIVERT_LIST ; do
12                 rm -f "$f" || true
13                 dpkg-divert --package zero-lliurex-dni --rename --quiet --remove "$f" || true
14                 
15        done
16
17   ;;
18
19   upgrade|failed-upgrade|abort-upgrade)
20   ;;
21   *)
22      echo "prerm called with unknown argument $1" >&2
23      exit 1
24esac
25
26#DEBHELPER#
27
28exit 0
Note: See TracBrowser for help on using the repository browser.