wok-4.x rev 1813
kobo-deluxe: Fix scores directory.
author | Mallory MOLLO <mallory@sweetpeople.org> |
---|---|
date | Fri Dec 05 05:24:56 2008 +0100 (2008-12-05) |
parents | acdb0e641156 |
children | fc336b5ff9bb |
files | kobodeluxe/receipt |
line diff
1.1 --- a/kobodeluxe/receipt Thu Dec 04 22:47:12 2008 +0100 1.2 +++ b/kobodeluxe/receipt Fri Dec 05 05:24:56 2008 +0100 1.3 @@ -26,6 +26,7 @@ 1.4 --prefix=/usr \ 1.5 --mandir=/usr/share/man \ 1.6 --infodir=/usr/share/info \ 1.7 + --sharedstatedir=/var/games \ 1.8 $CONFIGURE_ARGS 1.9 make 1.10 make DESTDIR=$PWD/_pkg install 1.11 @@ -44,4 +45,12 @@ 1.12 mkdir -p $fs/usr 1.13 cp -a $_pkg/usr/bin $fs/usr 1.14 cp -a $_pkg/usr/share $fs/usr/share 1.15 + 1.16 + mkdir -p $fs/var/games/kobo-deluxe/scores 1.17 + chmod 667 $fs/var/games/kobo-deluxe/scores 1.18 } 1.19 + 1.20 +pre_remove() 1.21 +{ 1.22 + rm -rf /var/games/kobo-deluxe/* 1.23 +}