From 75de4fd7cadf54d299695c811cb8a9c17a805e1d Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Thu, 13 Jul 2017 09:14:17 +0000 Subject: [PATCH] kobodeluxe: fix absolute paths in INSTALL/REMOVE --- srcpkgs/kobodeluxe/INSTALL | 4 ++-- srcpkgs/kobodeluxe/REMOVE | 2 +- srcpkgs/kobodeluxe/template | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/kobodeluxe/INSTALL b/srcpkgs/kobodeluxe/INSTALL index d9dd2ed35b0..45643ce8a7b 100644 --- a/srcpkgs/kobodeluxe/INSTALL +++ b/srcpkgs/kobodeluxe/INSTALL @@ -1,7 +1,7 @@ case "$ACTION" in post) if [ "$UPDATE" != "yes" ]; then - mkdir -p /var/games/kobo-deluxe/scores - chmod 777 /var/games/kobo-deluxe/scores + mkdir -p var/games/kobo-deluxe/scores + chmod 777 var/games/kobo-deluxe/scores fi ;; esac diff --git a/srcpkgs/kobodeluxe/REMOVE b/srcpkgs/kobodeluxe/REMOVE index 20bc890bd5e..0e0d7d843d3 100644 --- a/srcpkgs/kobodeluxe/REMOVE +++ b/srcpkgs/kobodeluxe/REMOVE @@ -1,6 +1,6 @@ case "$ACTION" in post) if [ "$UPDATE" != "yes" ]; then - rm -r /var/games/kobo-deluxe + rm -r var/games/kobo-deluxe fi ;; esac diff --git a/srcpkgs/kobodeluxe/template b/srcpkgs/kobodeluxe/template index 43d51871ac4..8ec2cb4d10c 100644 --- a/srcpkgs/kobodeluxe/template +++ b/srcpkgs/kobodeluxe/template @@ -1,7 +1,7 @@ # Template file for 'kobodeluxe' pkgname=kobodeluxe version=0.5.1 -revision=1 +revision=2 wrksrc="KoboDeluxe-${version}" build_style=gnu-configure configure_args="--sharedstatedir=/var/games"