aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilo Casagrande <milo@ubuntu.com>2013-01-23 11:17:03 +0100
committerMilo Casagrande <milo@ubuntu.com>2013-01-23 11:17:03 +0100
commit32cd50f71177a00d5a75d767bcecfb22855ab241 (patch)
treee741f075afc57c2080c3e125355b947b008417c9
parent6b8cab734f4963adc1a59b8de9a131cbb1ff2a5a (diff)
Fixed sudo args, added celery package.
-rw-r--r--scripts/rhodecode-setup6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/rhodecode-setup b/scripts/rhodecode-setup
index bd28cc0..09b7e1c 100644
--- a/scripts/rhodecode-setup
+++ b/scripts/rhodecode-setup
@@ -16,7 +16,7 @@ REQUIRED_PACKAGES = ["python-pip", "python-webob", "python-bcrypt",
"python-pastescript", "python-psycopg2", "python-nose",
"build-essential", "apache2"]
# Packages required for celery integration.
-CELERY_REQUIRED_PACKAGES = ["rabbitmq-server"]
+CELERY_REQUIRED_PACKAGES = ["python-celery", "rabbitmq-server"]
# Packages for the backend to use.
SQLITE_DB = "sqlite"
@@ -401,7 +401,7 @@ def install_rhodecode(work_dir, user=None):
cmd_args = ["python", "setup.py", "install"]
if user:
- cmd_args = ["-u", user] + cmd_args
+ cmd_args = ["-u", user, "-H", "-E"] + cmd_args
cmd_args.append("--user")
execute_command(cmd_args, work_dir=work_dir)
@@ -429,7 +429,7 @@ def setup_rhodecode(rhodecode_dir, config_file, git_repos, admin_usr,
repos = "--repos=%s" % os.path.abspath(git_repos)
if user:
- cmd_args = ["-u", user]
+ cmd_args = ["-u", user, "-H", "-E"]
cmd_args += ["paster", "setup-rhodecode", config_file]
cmd_args.append(usr_arg)