FS#13490 - [lbreakout2-2.6beta_7-3] fix bad --localstatedir in PKGBUILD
Attached to Project:
Arch Linux
Opened by Gerardo Exequiel Pozzi (djgera) - Wednesday, 25 February 2009, 20:02 GMT
Last edited by Anonymous Submitter - Thursday, 26 February 2009, 19:49 GMT
Opened by Gerardo Exequiel Pozzi (djgera) - Wednesday, 25 February 2009, 20:02 GMT
Last edited by Anonymous Submitter - Thursday, 26 February 2009, 19:49 GMT
|
Details
Description:
lbreakout2-2.6beta_7-3 install a file under /usr/var/ -rw-rw-rw- 1 root root 229 2009-02-23 02:23 /usr/var/lbreakout2.hscr #(ok really is in /var/lbreakout2.hscr) but... This is bad location for a file, a better location in this case (persistent dynamic data for games is /var/games/{pkgname} This trivial patch set correct dir, to be more FHS compliant ;) |
This task depends upon
Closed by Anonymous Submitter
Thursday, 26 February 2009, 19:49 GMT
Reason for closing: Fixed
Thursday, 26 February 2009, 19:49 GMT
Reason for closing: Fixed
Comment by Jan de Groot (JGC) -
Wednesday, 25 February 2009, 22:49 GMT
Remember that hiscore files need special handling. See some other
games like gnome-games for examples. It's not nice when your
highscore is removed after a package upgrade.
Comment by
Gerardo Exequiel Pozzi (djgera) -
Thursday, 26 February 2009, 00:36 GMT
True JGC :). Then also add a
backup=(var/games/lbreakout2/lbreakout2.hscr)
lbreakout2.var.dir.fix.patch