You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rtpengine/debian/ngcp-rtpengine-recording-da...

17 lines
269 B

#!/bin/sh
set -e
if [ "$1" = configure ]; then
for DIR in /var/lib/rtpengine-recording /var/spool/rtpengine; do
if ! dpkg-statoverride --list "$DIR" > /dev/null 2>&1; then
chown rtpengine:rtpengine "$DIR"
chmod 0770 "$DIR"
fi
done
fi
#DEBHELPER#
exit 0