From 4f9b33d077cacaed524175902f6209f20cc4c5a7 Mon Sep 17 00:00:00 2001 From: Martin Vidner Date: Thu, 27 Jun 2013 13:11:22 +0000 Subject: [PATCH] Fix python exec prefix on SUSE. 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 --- functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions b/functions index c611e0046c..70ab999676 100644 --- a/functions +++ b/functions @@ -1410,7 +1410,7 @@ function add_user_to_group() { # Get the path to the direcotry where python executables are installed. # get_python_exec_prefix function get_python_exec_prefix() { - if is_fedora; then + if is_fedora || is_suse; then echo "/usr/bin" else echo "/usr/local/bin"