mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fix devel mode for the webgui.
This commit is contained in:
parent
04636b8ae7
commit
60d46ac660
@ -57,11 +57,10 @@ def daemonize():
|
||||
# environment to load a different configuration and avoid becoming
|
||||
# a daemon
|
||||
devel = False
|
||||
if os.path.exists(os.path.join(os.path.dirname(__file__), "Makefile")):
|
||||
if os.path.exists(os.path.join(os.path.dirname(__file__), "Makefile.am")):
|
||||
devel = True
|
||||
|
||||
if not devel:
|
||||
sys.path.append("/usr/share/ipa/")
|
||||
sys.path.append("/usr/share/ipa/")
|
||||
|
||||
# this must be after sys.path is changed to work correctly
|
||||
import pkg_resources
|
||||
|
Loading…
Reference in New Issue
Block a user