mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 09:38:10 -03:30
Fix RPM builds and setup for 3.1
This commit is contained in:
committed by
Graham Mainwaring
parent
5b60b14227
commit
b143f53888
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user