1 # vdr-streamdev.install
3 # Assumed VDR directory environment
6 PLUGINS_CONFDIR=${CONFDIR}/plugins
10 THIS_PLUGIN_CONFDIR=${PLUGINS_CONFDIR}/${PLUGIN_NAME}-server
12 ## arg 1: the new package version
14 echo "****************************************************************************"
15 echo ' Configuration files are installed in "'${THIS_PLUGIN_CONFDIR}'"'
16 echo "****************************************************************************"
19 cat <<EndOfUpdateMessage
20 Starting with streamdev 0.5.0, all additional files are kept in a directory
21 called "streamdev-server" inside VDR's plugin config directory. It is the new
22 default location of externremux.sh and the new place where streamdev-server
23 expects the file "streamdevhosts.conf". You will have to move this file to its
27 mv VDRCONFDIR/plugins/streamdevhosts.conf VDRCONFDIR/plugins/streamdev-server/
29 streamdev 0.4.x, 0.4.0pre and 0.5.0pre:
30 mv VDRCONFDIR/plugins/streamdev VDRCONFDIR/plugins/streamdev-server/
34 if getent passwd ${VDR_USER} >/dev/null; then
35 chown ${VDR_USER}:${VDR_USER} ${PLUGINS_CONFDIR}
36 chown -R ${VDR_USER}:${VDR_USER} ${THIS_PLUGIN_CONFDIR}
40 ## arg 1: the new package version
41 ## arg 2: the old package version