https://bugs.launchpad.net/devstack/+bug/1068386
"sudo python setup.py develop" installs to /usr/bin on SUSE
Otherwise it fails with "stack.sh:191 g-api did not start".
Change-Id: I1258240ce2a5a765188353fbc8a2e085d0b02fec
| ... | ... |
@@ -1410,7 +1410,7 @@ function add_user_to_group() {
|
| 1410 | 1410 |
# Get the path to the direcotry where python executables are installed. |
| 1411 | 1411 |
# get_python_exec_prefix |
| 1412 | 1412 |
function get_python_exec_prefix() {
|
| 1413 |
- if is_fedora; then |
|
| 1413 |
+ if is_fedora || is_suse; then |
|
| 1414 | 1414 |
echo "/usr/bin" |
| 1415 | 1415 |
else |
| 1416 | 1416 |
echo "/usr/local/bin" |