Le 06/04/2011 10:52, Miklos Vajna a écrit : > On Wed, Apr 06, 2011 at 09:05:20AM +0200, Sebastien VINCENT > <[email protected]> wrote: >> I created these files in the install because if you put them in the >> build, each upgrade will reset the score files blank when the goal is to >> keep the scores of the game. > Can't you use backup() for that purpose? (See man FrugalBuild) > > Thanks. > > > _______________________________________________ > Frugalware-devel mailing list > [email protected] > http://frugalware.org/mailman/listinfo/frugalware-devel Yes the function backup() works fine.
I rewrite the FrugalBuild Sébastien VINCENT Aka Baste
# Compiling Time: 0.02 SBU # Maintainer : Baste <[email protected]> pkgname=gweled pkgver=0.9.1 pkgrel=1 pkgdesc="A puzzle game similar to Bejeweled or Diamond Mine" depends=('librsvg' 'libmikmod') makedepends=('intltool') groups=('games-extra') archs=('i686' 'x86_64') _F_gnome_iconcache="y" Finclude launchpad gnome-scriptlet Fconfopts="$Fconfopts --with-scores-group=users --with-scores-user=root" backup=(var/games/{gweled.Normal.scores,gweled.Timed.scores}) # optimization OK
_______________________________________________ Frugalware-devel mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-devel
