Update:
I have updated the install scripts, so that they do not appear in "Recent Documents'. This avoids the problem mentioned by henryhu and ne14st. Thanks for reporting it. shaggy: thanks for identifying the cause.
The following has been added to the common part of the install scripts. Maybe it's useful in other scripts...
Code:
#remove this script from 'Recent Documents'`
RECENT=/var/recentdocuments/
HERE=`pwd`
LINK=$RECENT`(ls -l $RECENT | grep $HERE | awk '{print $9}')`
if [ ! $LINK = $RECENT ]; then
rm $LINK
fi