I ran the setup.pl script a number of times and each
invocation added the DISPLAY=:0 line to the crontab.
I see by the code that you correctly remove old entries
for the cron jobs but do not remove the DISPLAY line.
I think that a range of lines might work better for
this type of thing.
when you add to the crontab use:
#webvcrplus :START
blah blah blah stuff
#webvcrplus :END
and then delete all of the code between those two lines.
If an admin places stuff between this two lines, they
are on there own.
Mention that the section is automatically updated and
they should not modify it here.
BTW you might want to break some of this code out into
different scripts. If I wanted to update the refresh
interval of the listings, I would lose everything by
running this again. So setup could always call
configure.pl and from then after I could call
configure.pl to change any settings.
Just and idea.