#!/bin/sh set -e DIVERT_LIST="/usr/share/opensc-dnie/instal_dnie/instala_modulo.htm /usr/share/opensc-dnie/instal_dnie/dnie.css" for f in $DIVERT_LIST ; do dpkg-divert --package zero-lliurex-dni --rename --quiet --add --divert ${f}.real ${f} || echo "Unable to divert file \"$f\"" >&2 done #DEBHELPER# exit 0