aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-03-17 18:56:21 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-03-17 18:56:21 +0000
commit30f729574f2b8f0c5cdec35583dedfbd146638ef (patch)
tree65c07e5aa8ef285a494c4754d1e63ff706be0a3e
parent1d4c05e2415d0968d523fa5406607f131dc3a585 (diff)
downloadslackbuilds-30f729574f2b8f0c5cdec35583dedfbd146638ef.tar.gz
slackbuilds-30f729574f2b8f0c5cdec35583dedfbd146638ef.tar.bz2
0verkill: small fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1114 370017ae-e619-0410-ac65-c121f96126d4
-rwxr-xr-xgames/0verkill/0verkill.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/games/0verkill/0verkill.SlackBuild b/games/0verkill/0verkill.SlackBuild
index e8f17f4b..c3bd5463 100755
--- a/games/0verkill/0verkill.SlackBuild
+++ b/games/0verkill/0verkill.SlackBuild
@@ -76,8 +76,12 @@ mkdir -p $TMP/package-$PACKAGE/opt/0verkill
mkdir -p $TMP/package-$PACKAGE/usr/games
cp server $TMP/package-$PACKAGE/opt/0verkill
cp 0verkill $TMP/package-$PACKAGE/opt/0verkill
-cp -a data $TMP/package-$PACKAGE/opt/0verkill
-cp -a grx $TMP/package-$PACKAGE/opt/0verkill
+cp -r data $TMP/package-$PACKAGE/opt/0verkill
+cp -r grx $TMP/package-$PACKAGE/opt/0verkill
+
+chown -R root.root $TMP/package-$PACKAGE/opt/0verkill
+chmod 644 $TMP/package-$PACKAGE/opt/0verkill/{data,grx}
+chmod 755 $TMP/package-$PACKAGE/opt/0verkill/{0verkill,server}
echo '#!/bin/bash' > $TMP/package-$PACKAGE/usr/games/0verkill
echo 'cd /opt/0verkill && ./0verkill $*' >> $TMP/package-$PACKAGE/usr/games/0verkill