pcsc-lite/pcsc-lite/trunk/tags/1.4.0-1/pcscd.postinst

19 lines
340 B
Bash

#!/bin/sh
set -e
# regenerate /etc/reader.conf
if [ -x /usr/sbin/update-reader.conf ]; then
/usr/sbin/update-reader.conf || true;
fi
# clean /tmp/pcsc
# This should not be necessary. But in case the directory exists the
# pcscd daemon would not start
#PCSC_DIR=/tmp/pcsc
#if [ -d $PCSC_DIR ]; then
# rm -rf $PSC_DIR
#fi
#DEBHELPER#