1 # vdr-xineliboutput-cvs.install
3 # Assumed VDR directory environment
6 PLUGINS_CONFDIR=${CONFDIR}/plugins
9 PKG_NAME=vdr-xineliboutput-cvs
10 PLUGIN_NAME=xineliboutput
11 THIS_PLUGIN_CONFDIR=${PLUGINS_CONFDIR}/${PLUGIN_NAME}
13 ## arg 1: the new package version
15 echo "**************************************************************************"
16 echo ' Configuration files are installed in "'${THIS_PLUGIN_CONFDIR}'"'
17 if getent passwd ${VDR_USER} >/dev/null; then
18 chown ${VDR_USER}:${VDR_USER} ${PLUGINS_CONFDIR}
19 chown -R ${VDR_USER}:${VDR_USER} ${THIS_PLUGIN_CONFDIR}
21 echo ' Example remote.conf files are in "/usr/share/doc/'${PKG_NAME}'"'
22 if getent passwd ${VDR_USER} >/dev/null; then
23 echo ' Copy the chosen file to "'${CONFDIR}'/remote.conf" and chown to "'${VDR_USER}':'${VDR_USER}'"'
25 echo ' Copy the chosen file to "'${CONFDIR}'/remote.conf"'
27 echo "**************************************************************************"
30 ## arg 1: the new package version
31 ## arg 2: the old package version