diff options
author | Симон Болоканов <sbolokanov@abv.bg> | 2014-12-21 16:14:33 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-12-22 01:45:50 +0700 |
commit | f8134211479859883bab5c83d10272184adf2083 (patch) | |
tree | 76e1608988f9a75fea3a21ac61abc47877d2433f /games/0ad/disable-root-check.patch | |
parent | df3de558bfad684f731c9dc13805f58033eb8cbf (diff) | |
download | slackbuilds-f8134211479859883bab5c83d10272184adf2083.tar.gz |
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.patch | 16 |
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() + { |