1 # vdr-rssreader.install
3 # Assumed VDR directory environment
6 PLUGINS_CONFDIR=${CONFDIR}/plugins
10 THIS_PLUGIN_CONFDIR=${PLUGINS_CONFDIR}/${PLUGIN_NAME}
12 ## arg 1: the new package version
14 echo "*********************************************************************"
15 echo ' Configuration files are installed in "'${THIS_PLUGIN_CONFDIR}'"'
16 echo "*********************************************************************"
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}
23 ## arg 1: the new package version
24 ## arg 2: the old package version