--- burncdda-1.8.2.old/burncdda +++ burncdda-1.8.2/burncdda @@ -19,6 +19,30 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #------------------------------------------------------------------------------ +TITLE="burncdda LiveDistro warning" +STDCFGFILE=__META_PREFIX__/etc/burncdda.conf +USRCFGFILE=$HOME/.burncdda +FLAGFILE_LIVEDISTRO=/etc/sysconfig/ISLIVEDISTRO + +if [ ! -f $USRCFGFILE ]; then + mkdir -p $HOME + cp $STDCFGFILE $USRCFGFILE +fi + +if [ -f $FLAGFILE_LIVEDISTRO ]; then + MSG="You're running a LiveDistro, so an extra configuration step +is required. You must set burncdda's \"Scratch directory\" +correctly or the program will crash the system. To set this +parameter correctly, select Setup on the main menu. + +Note: Specify a hard-disk directory that has at least one GB +of disk space free." + + zenity --warning --no-wrap --title="$TITLE" --text="$MSG" +fi + +#--------------------------------------------------------------------- + # catch SIGINT and SIGTERM, remove TEMPFILE trap 'forcedkill' 1 2 3 15