Right now, there's no protection for high score files in /var/games. We should use cp -a or something to keep the state of /var/games in sync with what portage has in its tiny brain while retaining the hard-earned high scores already in /var/games. Reproducible: Always Steps to Reproduce: 1. merge a game 2. make a world record high score 3. upgrade said game 4. look in horror at the reset high score table Actual Results: My high scores go away. Expected Results: Keep my high scores.
Maybe, this could be handled by the portage's CFGPRO feature. (The one that keeps out /etc's untouched) Radek
should be all set now ... local f="" for f in `find ${D}/${GAMES_STATEDIR} -type f -printf '%P ' 2>/dev/null` ; do if [ -e "${ROOT}/${GAMES_STATEDIR}/${f}" ] ; then cp -p "${ROOT}/${GAMES_STATEDIR}/${f}" "${D}/${GAMES_STATEDIR}/${f}" touch "${D}/${GAMES_STATEDIR}/${f}" fi done basically it scans ${D}/${GAMES_STATEDIR}, sees if there are any files that will be overwritten, and if so, copies the version from / to ${D} and updates it