Merge pull request #3764 from ghjm/packaging_3.1

RPM and setup playbook fixes for 3.1
This commit is contained in:
Graham Mainwaring
2016-10-24 15:57:46 -04:00
committed by GitHub
2 changed files with 1 additions and 10 deletions

View File

@@ -1,14 +1,5 @@
#!/bin/bash
# Enable needed Software Collections, if installed
for scl in python27 httpd24; do
if [ -f /etc/scl/prefixes/$scl ]; then
if [ -f `cat /etc/scl/prefixes/$scl`/$scl/enable ]; then
. `cat /etc/scl/prefixes/$scl`/$scl/enable
fi
fi
done
# Enable Tower virtualenv
if [ -f /var/lib/awx/venv/tower/bin/activate ]; then
. /var/lib/awx/venv/tower/bin/activate