#!/bin/sh set -e # remove strange things from old versions of lliurex-basefiles #TEST_LIST="/etc/lsb-release.real" TEST_LIST="" for f in $TEST_LIST ; do if [ -L "${f}" ] ; then rm -f "${f}" fi done DIVERT_LIST="/etc/lsb-release /etc/issue /etc/issue.net" for f in $DIVERT_LIST ; do if [ -f "${f}.ubuntu" ] ; then rm -f "${f}" dpkg-divert --package lliurex-base-files --rename --quiet --remove "${f}" || true fi done #DEBHELPER# exit 0