Quote:
Another minor installer annoyance. I told it not to set ReserveCache because I already had it set and it cleared my existing setting.

-Mike
That's strange, I don't see how... The install-emphatic.(bat|sh) files pass in params to the postinstall on the empeg, and it only deletes and adds ReserveCache if it gets that parameter.

Here's the relevant part of install-emphatic.sh (line broken to avoid horizontal scrolling):
Code:

echo site exec $DESTDIR/postinstall.sh \
$DESTDIR $LAUNCH $SHUFFLE $RESERVECACHE $SONGRATINGS \
>> install-emphatic.ftp



And here's what happens on the empeg:
Code:

RESERVECACHE=$4
...
if [ $RESERVECACHE == 1 ]; then
cp /empeg/var/config.ini /empeg/var/config.ini.work
sed -e "/^ReserveCache=[0-9]*/ d
/^\[Startup\]/ a\\
ReserveCache=10" /empeg/var/config.ini.work > /empeg/var/config.ini
fi



Anyone see where I'm being dense?


Edited by tonyc (24/07/2004 02:06)
_________________________
- Tony C
my empeg stuff