diff options
Diffstat (limited to 'ipa-server/ipa-install')
-rw-r--r-- | ipa-server/ipa-install/Makefile | 3 | ||||
-rw-r--r-- | ipa-server/ipa-install/ipa-server-install | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ipa-server/ipa-install/Makefile b/ipa-server/ipa-install/Makefile index 2524baf31..40a39b576 100644 --- a/ipa-server/ipa-install/Makefile +++ b/ipa-server/ipa-install/Makefile @@ -1,3 +1,4 @@ +SHAREDIR=$(DESTDIR)/usr/share/ipa SBINDIR=$(DESTDIR)/usr/sbin all: ; @@ -5,7 +6,7 @@ all: ; install: -mkdir $(SBINDIR) install -m 755 ipa-server-install $(SBINDIR) - install -m 755 ipa-server-setupssl $(SBINDIR) + install -m 755 ipa-server-setupssl $(SHAREDIR) $(MAKE) -C share $@ $(MAKE) -C test $@ diff --git a/ipa-server/ipa-install/ipa-server-install b/ipa-server/ipa-install/ipa-server-install index d4e55302b..54da6856b 100644 --- a/ipa-server/ipa-install/ipa-server-install +++ b/ipa-server/ipa-install/ipa-server-install @@ -134,7 +134,7 @@ def main(): if host_name == "": print "" host_name = raw_input("Please provide a Fully Qualified name to use for your system [master.example.com]: ") - if host_name != "": + if host_name == "": host_name = "master.example.com" if len(host_name.split(".")) < 2 or host_name == "localhost.localdomain": |