summaryrefslogtreecommitdiffstats
path: root/games/0ad/disable-root-check.patch
diff options
context:
space:
mode:
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 0000000000..e019c0f84e
--- /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()
+ {