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

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

First release to xenial

File size: 316 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
7for f in $DIVERT_LIST ; do
8        dpkg-divert --package zero-lliurex-dni --rename --quiet --add --divert ${f}.real ${f} ||  echo "Unable to divert file \"$f\"" >&2
9done
10
11#DEBHELPER#
12
13exit 0
Note: See TracBrowser for help on using the repository browser.