summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-20 22:32:54 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:27:46 +0000
commit04879cf57051b8d60b3818026d5c132a962ace6c (patch)
tree0a815d170b84e44bf4d22e7da442243510312667
parent6b7c32d0097b8cf89d84bfc5adf2c2a60431c9ba (diff)
downloadslackbuilds-04879cf57051b8d60b3818026d5c132a962ace6c.tar.gz
games/warsow: Allow ARCH=i586, install doinst.sh.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--games/warsow/doinst.sh1
-rw-r--r--games/warsow/warsow.SlackBuild3
2 files changed, 2 insertions, 2 deletions
diff --git a/games/warsow/doinst.sh b/games/warsow/doinst.sh
index 4e8ba7071d..5fb28930db 100644
--- a/games/warsow/doinst.sh
+++ b/games/warsow/doinst.sh
@@ -1,4 +1,3 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
-
diff --git a/games/warsow/warsow.SlackBuild b/games/warsow/warsow.SlackBuild
index 5d882a06da..bbe9a50f5a 100644
--- a/games/warsow/warsow.SlackBuild
+++ b/games/warsow/warsow.SlackBuild
@@ -113,7 +113,8 @@ mkdir -p "${PKG}/usr/share/applications"
cat "${CWD}/warsow.desktop" > "${PKG}/usr/share/applications/warsow.desktop"
# copy description
-cp "${CWD}/slack-desc" "${PKG}/install"
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
# set permissions
chown -R root:root .