Opened 10 years ago

Closed 10 years ago

#42611 closed enhancement (fixed)

nethack @3.4.3 Reinstallation should preserve record and logfile

Reported by: jnielsendotnet Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: nethack

Description

I removed and reinstalled all my ports (including Nethack) after upgrading to Mavericks from Mountain Lion, some months ago. I recently resumed a saved game and, ultimately, died (YASD). While it was gratifying to see that I made the top score, it was in fact the ONLY score--my prior ascensions were no longer on display!

Fortunately TIme Machine was able to mitigate this disaster ( :) ), but it would be nice if the port, when installed, renamed the "record" and "logfile" files in share/nethackdir to "record.orig" and "logfile.orig", respectively, then copied to the non-suffixed names only if they did not already exist (similar to what is done for config files for other ports). That would prevent the files from being removed when the port is uninstalled/upgraded, and prevent them from being clobbered on reinstall.

Change History (3)

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to yeled@…

In the future, please Cc the port maintainers (port info --maintainers nethack).

comment:2 Changed 10 years ago by mf2k (Frank Schima)

Owner: changed from yeled@… to macports-tickets@…

comment:3 Changed 10 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.