If fpdb is installed using an ebuild for the very first time then fperms mysteriously fails marking the *.pyw files as executables. During a second
install from the ebuild fperms was working which is more mysterious. I have found notices about this behaviour of fperms but couldn't find a proper
solution. However simply replacing fperms with chmod just does the work done.
Signed-off-by: steffen123 <steffen@schaumburger.info>
The previous method was giving wrong results in some cases (e.g. the preflop forced allin situation from blind positions), so here's an another enhancement. At
PartyPoker there's two types of buyins for a cashgame table: 20BB min and 100BB max. The former has a 40BB max, while the latter has 35BB min too. This patch
makes fpdb to determine if a ring table is a 20BB min or 100BB max table, then calculates the correct big blind amount from that. When big blind is ready then
halves it for the small blind (except when big blind is 0.25$ when small blind is 0.10$).
Included checks for any ring game hands if there's a blind could be
found and if either SB or BB detection fails then determineGameType will
return None. It's needed for handling some invalid ring hands (e.g.
table closed messages at the end of a HH file).
Signed-off-by: steffen123 <steffen@schaumburger.info>