#!/bin/sh set -e #VARS PACKAGE_NAME="lliurex-qjackctl" FILE="/etc/security/limits.conf" LLIUREX_TEMPLATE="/etc/security/limits.conf.lliurex" # --------- case "$1" in configure) #We make a diversion for limits.conf file. dpkg-divert --package $PACKAGE_NAME --rename --quiet --add --divert $FILE.real $FILE cp -a $LLIUREX_TEMPLATE $FILE ;; esac #DEBHELPER# exit 0