# HG changeset patch # User Mallory MOLLO # Date 1228451096 -3600 # Node ID c6f726ea3fd329c64e388ed668fdf237ccf7d41d # Parent acdb0e641156cd8fbb305a0e0a9b527561b5dff1 kobo-deluxe: Fix scores directory. diff -r acdb0e641156 -r c6f726ea3fd3 kobodeluxe/receipt --- a/kobodeluxe/receipt Thu Dec 04 22:47:12 2008 +0100 +++ b/kobodeluxe/receipt Fri Dec 05 05:24:56 2008 +0100 @@ -26,6 +26,7 @@ --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ + --sharedstatedir=/var/games \ $CONFIGURE_ARGS make make DESTDIR=$PWD/_pkg install @@ -44,4 +45,12 @@ mkdir -p $fs/usr cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/share $fs/usr/share + + mkdir -p $fs/var/games/kobo-deluxe/scores + chmod 667 $fs/var/games/kobo-deluxe/scores } + +pre_remove() +{ + rm -rf /var/games/kobo-deluxe/* +}