Fix RPM builds and setup for 3.1

This commit is contained in:
Graham Mainwaring
2016-10-24 18:50:08 +00:00
committed by Graham Mainwaring
parent 5b60b14227
commit b143f53888
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