aboutsummaryrefslogtreecommitdiff
path: root/games/0ad/disable-root-check.patch
diff options
context:
space:
mode:
authorСимон Болоканов <sbolokanov@abv.bg>2014-12-21 16:14:33 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-12-22 01:45:50 +0700
commitf8134211479859883bab5c83d10272184adf2083 (patch)
tree76e1608988f9a75fea3a21ac61abc47877d2433f /games/0ad/disable-root-check.patch
parentdf3de558bfad684f731c9dc13805f58033eb8cbf (diff)
games/0ad: Updated for version 0.0.17.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/0ad/disable-root-check.patch')
-rw-r--r--games/0ad/disable-root-check.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/games/0ad/disable-root-check.patch b/games/0ad/disable-root-check.patch
new file mode 100644
index 0000000000000..e019c0f84eac2
--- /dev/null
+++ b/games/0ad/disable-root-check.patch
@@ -0,0 +1,16 @@
+--- a/build/workspaces/update-workspaces.sh
++++ b/build/workspaces/update-workspaces.sh
+@@ -1,9 +1,9 @@
+ #!/bin/sh
+
+-if [ "$(id -u)" = "0" ]; then
+- echo "Running as root will mess up file permissions. Aborting ..." 1>&2
+- exit 1
+-fi
++#if [ "$(id -u)" = "0" ]; then
++# echo "Running as root will mess up file permissions. Aborting ..." 1>&2
++# exit 1
++#fi
+
+ die()
+ {