kobodeluxe: fix absolute paths in INSTALL/REMOVE

This commit is contained in:
Michael Gehring 2017-07-13 09:14:17 +00:00
parent 9c72f0115a
commit 75de4fd7ca
3 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
case "$ACTION" in case "$ACTION" in
post) if [ "$UPDATE" != "yes" ]; then post) if [ "$UPDATE" != "yes" ]; then
mkdir -p /var/games/kobo-deluxe/scores mkdir -p var/games/kobo-deluxe/scores
chmod 777 /var/games/kobo-deluxe/scores chmod 777 var/games/kobo-deluxe/scores
fi fi
;; ;;
esac esac

View file

@ -1,6 +1,6 @@
case "$ACTION" in case "$ACTION" in
post) if [ "$UPDATE" != "yes" ]; then post) if [ "$UPDATE" != "yes" ]; then
rm -r /var/games/kobo-deluxe rm -r var/games/kobo-deluxe
fi fi
;; ;;
esac esac

View file

@ -1,7 +1,7 @@
# Template file for 'kobodeluxe' # Template file for 'kobodeluxe'
pkgname=kobodeluxe pkgname=kobodeluxe
version=0.5.1 version=0.5.1
revision=1 revision=2
wrksrc="KoboDeluxe-${version}" wrksrc="KoboDeluxe-${version}"
build_style=gnu-configure build_style=gnu-configure
configure_args="--sharedstatedir=/var/games" configure_args="--sharedstatedir=/var/games"