Update of /cvsroot/freevo/freevo/contrib/debian
In directory sc8-pr-cvs1:/tmp/cvs-serv4267

Added Files:
        freevo.postinst 
Log Message:
A basic postinstall script for Freevo to put config files in proper 
locations (IF and only if they aren't already there)


--- NEW FILE: freevo.postinst ---
#!/bin/sh
#

CONFIG_FILE=/etc/freevo/local_conf.py
SYSTEM_CONF=/etc/freevo/freevo.conf
LIRCRC=/etc/freevo/lircrc

case "$1" in
    configure)
        if [ ! -f $CONFIG_FILE ] ; then cp /usr/share/doc/freevo/local_conf.py.example 
$CONFIG_FILE; fi
        if [ ! -f $SYSTEM_CONF ] ; then echo "Make sure you run 'freevo setup' after 
the package is installed"; fi
        if [ ! -f $LIRCRC ];       then echo "Make sure you run 'freevo makelircrc' 
after the package is installed"; fi
    ;;
esac




-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to