From 13878447effd4c132a0e00fae50e3aa3c722b7e1 Mon Sep 17 00:00:00 2001 From: David Melik Date: Sat, 27 Jul 2019 08:43:47 +0700 Subject: games/larn: Update script. Signed-off-by: Willy Sudiarto Raharjo --- games/larn/larn.SlackBuild | 6 ++++-- games/larn/larn.sh | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'games/larn') diff --git a/games/larn/larn.SlackBuild b/games/larn/larn.SlackBuild index 43563a7bdb..43bd7dd9fd 100644 --- a/games/larn/larn.SlackBuild +++ b/games/larn/larn.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for larn -# Copyright 2017 David Melik, Spokane, WA, USA +# Copyright 2019 David Melik, Spokane, WA, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -77,9 +77,11 @@ cd .. mkdir -p $PKG/usr/share/games/larn cp -a larn data $PKG/usr/share/games/larn cp $CWD/larn.sh $PKG/usr/share/games/larn +chown -R games:users $PKG/usr/share/games/larn +chmod 775 $PKG/usr/share/games/larn/data mkdir -p $PKG/usr/games cd $PKG/usr/games -ln -fs /usr/share/games/larn/larn larn +ln -fs /usr/share/games/larn/larn.sh larn cd $TMP/RL_M-$VERSION find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/games/larn/larn.sh b/games/larn/larn.sh index 2d667455f7..70d6ff7858 100644 --- a/games/larn/larn.sh +++ b/games/larn/larn.sh @@ -1,5 +1,5 @@ #!/bin/sh USERDIR=$(pwd) cd /usr/share/games/larn -./larn +./larn $1 cd $USERDIR -- cgit v1.2.3